Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
Modifier and Type | Field and Description |
---|---|
static Boolean |
Boolean.FALSE
The
Boolean object corresponding to the primitive
value false . |
static Boolean |
Boolean.TRUE
The
Boolean object corresponding to the primitive
value true . |
Modifier and Type | Field and Description |
---|---|
static Class<Boolean> |
Boolean.TYPE
The Class object representing the primitive type boolean.
|
Modifier and Type | Method and Description |
---|---|
static Boolean |
Boolean.valueOf(boolean b)
Returns a
Boolean instance representing the specified
boolean value. |
static Boolean |
Boolean.valueOf(String s)
Returns a
Boolean with a value represented by the
specified string. |
Modifier and Type | Method and Description |
---|---|
int |
Boolean.compareTo(Boolean b)
Compares this
Boolean instance with another. |