Fields
Name | Description |
---|---|
FALSE | The Boolean object corresponding to the primitive value false. |
TRUE | The Boolean object corresponding to the primitive value true. |
TYPE | The Class object representing the primitive type boolean. |
Constructors
Name | Description |
---|---|
Boolean(boolean) | Allocates a Boolean object representing the value argument. |
Boolean(String) | Allocates a Boolean object representing the value true if the string argument is not null and is equal, ignoring case, to the string "true". |
Methods
Name | Description |
---|---|
booleanValue() | Returns the value of this Boolean object as a boolean. |
equals(Object) | Returns true if and only if the argument is not null and is a Boolean object that contains the same boolean value as this object. |
getBoolean(String) | Returns is true if and only if the system property named by the argument exists and is equal to the string "true". |
hashCode() | Returns a hash code for this Boolean. |
toString() | Returns a String object representing this Boolean's value. |
valueOf(String) | Returns the boolean value represented by the specified String. |