java.lang.Boolean (JDK 1.0)
This class provides an immutable object wrapper around the boolean primitive type. Note that the TRUE and FALSE constants are Boolean objects; they are not the same as the true and false boolean values. In Java 1.1, this class defines a Class constant that represents the boolean type.
booleanValue() returns the boolean value of a Boolean object. The class method getBoolean() retrieves the boolean value of a named property from the system property list. The class method valueOf() parses a string and returns the Boolean value it represents.
public final classBooleanextends Object implements Serializable { //Public ConstructorspublicBoolean(booleanvalue); publicBoolean(Strings); //Constantspublic static final BooleanFALSE; public static final BooleanTRUE; 1.1public static final ClassTYPE; //Class Methodspublic static booleangetBoolean(Stringname); public static BooleanvalueOf(Strings); //Public Instance Methodspublic booleanbooleanValue(); public booleanequals(Objectobj); //Overrides Objectpublic inthashCode(); //Overrides Objectpublic StringtoString(); //Overrides Object}
Returned By:
Boolean.valueOf()
Type Of:
Boolean.FALSE, Boolean.TRUE