Modifier and Type | Field | Description |
---|---|---|
static JsBool |
FALSE |
The singleton false value.
|
static JsBool |
TRUE |
The singleton true value.
|
boolean |
x |
the boolean value.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(@Nullable Object that) |
Indicates whether some other object is "equal to" this json boolean.
|
int |
hashCode() |
Returns the hashcode of this json boolean.
|
JsBool |
negate() |
Negates this json boolean (implementation of ! operator).
|
static JsBool |
of(boolean b) |
Static factory method to create a JsBool from a boolean primitive type.
|
String |
toString() |
asJsArray, asJsBigDec, asJsBigInt, asJsBool, asJsDouble, asJsInt, asJsLong, asJsObj, asJson, asJsStr, isArray, isArray, isBigDec, isBigDec, isBigInt, isBigInt, isBool, isDouble, isDouble, isFalse, isInstant, isInstant, isInt, isInt, isIntegral, isJson, isJson, isLocalDate, isLocalDate, isLocalDateTime, isLocalDateTime, isLong, isLong, isNothing, isNotJson, isNotNothing, isNotNull, isNotNumber, isNull, isNumber, isObj, isObj, isStr, isStr, isTrue
public static final JsBool FALSE
public static final JsBool TRUE
public final boolean x
public boolean equals(@Nullable Object that)
public int hashCode()
public JsBool negate()
public static JsBool of(boolean b)
Copyright © 2019. All rights reserved.