public final class Boolean extends Object implements Comparable<Boolean>
| Modifier and Type | Field and Description |
|---|---|
static Boolean |
FALSE |
static Boolean |
TRUE |
static Class<?> |
TYPE |
| Modifier and Type | Method and Description |
|---|---|
boolean |
booleanValue() |
int |
compareTo(Boolean ob)
Compares this with another Object.
|
boolean |
equals(Object o) |
static boolean |
getBoolean(String name) |
int |
hashCode() |
static boolean |
parseBoolean(String s) |
String |
toString() |
static String |
toString(boolean b) |
static Boolean |
valueOf(boolean b) |
static Boolean |
valueOf(String s) |
public static final Boolean FALSE
public static final Boolean TRUE
public static final Class<?> TYPE
public Boolean(boolean b)
public Boolean(String s)
public boolean booleanValue()
public int compareTo(Boolean ob)
ComparablecompareTo in interface Comparable<Boolean>ob - the object to compare withpublic static boolean getBoolean(String name)
public static boolean parseBoolean(String s)
public static String toString(boolean b)
public static Boolean valueOf(boolean b)