public final class Boolean extends Object implements Comparable<Boolean>, Serializable
boolean
as an object.Modifier and Type | Field and Description |
---|---|
static Boolean |
FALSE |
static Boolean |
TRUE |
static Class<Boolean> |
TYPE |
Constructor and Description |
---|
Boolean(boolean value) |
Boolean(String s) |
Modifier and Type | Method and Description |
---|---|
protected static Boolean |
$create(boolean x) |
protected static Boolean |
$create(String x) |
protected static boolean |
$isInstance(Object instance) |
boolean |
booleanValue() |
static int |
compare(boolean x,
boolean y) |
int |
compareTo(Boolean b) |
boolean |
equals(Object o) |
int |
hashCode() |
static int |
hashCode(boolean value) |
static boolean |
logicalAnd(boolean a,
boolean b) |
static boolean |
logicalOr(boolean a,
boolean b) |
static boolean |
logicalXor(boolean a,
boolean b) |
static boolean |
parseBoolean(String s) |
String |
toString() |
static String |
toString(boolean x) |
static Boolean |
valueOf(boolean b) |
static Boolean |
valueOf(String s) |
$isInstance
public Boolean(boolean value)
public Boolean(String s)
public static int compare(boolean x, boolean y)
public static int hashCode(boolean value)
public static boolean logicalAnd(boolean a, boolean b)
public static boolean logicalOr(boolean a, boolean b)
public static boolean logicalXor(boolean a, boolean b)
public static boolean parseBoolean(String s)
public static String toString(boolean x)
public static Boolean valueOf(boolean b)
public boolean booleanValue()
public int compareTo(Boolean b)
compareTo
in interface Comparable<Boolean>
protected static Boolean $create(boolean x)
@JsMethod protected static boolean $isInstance(Object instance)
Copyright © 2018. All rights reserved.