Example usage for Java java.lang Boolean fields, constructors, methods, implement or subclass
The text is from its open source code.
Boolean | TRUE The Boolean object corresponding to the primitive value true . |
Boolean | FALSE The Boolean object corresponding to the primitive value false . |
Class | TYPE The Class object representing the primitive type boolean. |
Boolean(boolean value) Allocates a Boolean object representing the value argument. | |
Boolean(String s) Allocates a Boolean object representing the value true if the string argument is not null and is equal, ignoring case, to the string "true" . |
boolean | booleanValue() Returns the value of this Boolean object as a boolean primitive. |
int | compare(boolean x, boolean y) Compares two boolean values. |
int | compareTo(Boolean b) Compares this Boolean instance with another. |
boolean | equals(Object obj) Returns true if and only if the argument is not null and is a Boolean object that represents the same boolean value as this object. |
boolean | getBoolean(String name) Returns true if and only if the system property named by the argument exists and is equal to, ignoring case, the string "true" . |
Class> | getClass() Returns the runtime class of this Object . |
int | hashCode() Returns a hash code for this Boolean object. |
int | hashCode(boolean value) Returns a hash code for a boolean value; compatible with Boolean.hashCode() . |
boolean | parseBoolean(String s) Parses the string argument as a boolean. |
String | toString() Returns a String object representing this Boolean's value. |
String | toString(boolean b) Returns a String object representing the specified boolean. |
Boolean | valueOf(boolean b) Returns a Boolean instance representing the specified boolean value. |
Boolean | valueOf(String s) Returns a Boolean with a value represented by the specified string. |