BooleanUtilities
.public abstract class BooleanUtils
extends java.lang.Object
Boolean
objects.Constructor and Description |
---|
BooleanUtils()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Boolean |
valueOf(boolean b)
Deprecated.
Returns the object equivalent of the boolean primitive.
|
public static java.lang.Boolean valueOf(boolean b)
A similar method is provided by the Boolean class in JDK 1.4, but you can use this one to remain compatible with earlier JDKs.
b
- the boolean value.Boolean.TRUE
or Boolean.FALSE
.