Java in a Nutshell Online Quick Reference for Java 1.1

CLASS java.lang.Boolean

Availability: JDK 1.0

public final class Boolean extends Object implements Serializable {
   // Public Constructors
      public Boolean(boolean value);
      public Boolean(String s);
   // Constants
      public static final Boolean FALSE;
      public static final Boolean TRUE;
1.1  public static final Class TYPE;
   // Class Methods
      public static boolean getBoolean(String name);
      public static Boolean valueOf(String s);
   // Public Instance Methods
      public boolean booleanValue();
      public boolean equals(Object obj);  // Overrides Object.equals()
      public int hashCode();  // Overrides Object.hashCode()
      public String toString();  // Overrides Object.toString()
}
Returned By:
Boolean.valueOf().
Type Of:
Boolean.FALSE, Boolean.TRUE.

Java in a Nutshell Online Quick Reference for Java 1.1
Created by David Flanagan. Copyright © 1997 by O'Reilly & Associates.