public final class JsNull extends JsPrimitive
NULL
exists.Modifier and Type | Field and Description |
---|---|
static JsNull |
NULL
The singleton null value.
|
static int |
TYPE_ID |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object that)
Returns true if that is the singleton
NULL . |
int |
hashCode()
Returns the hashcode of this json null
|
int |
id() |
boolean |
isNull()
Returns true if this element is null
|
JsPrimitive |
toJsPrimitive() |
String |
toString() |
isJson, isPrimitive
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
ifNothing, ifNull, isArray, isArray, isBigDec, isBigDec, isBigInt, isBigInt, isBinary, isBool, isDecimal, isDouble, isDouble, isFalse, isInstant, isInstant, isInt, isInt, isIntegral, isJson, isLong, isLong, isNothing, isNotNothing, isNotNull, isNotNumber, isNumber, isObj, isObj, isSameType, isStr, isStr, isTrue, toJsArray, toJsBigDec, toJsBigInt, toJsBinary, toJsBool, toJsDouble, toJsInstant, toJsInt, toJsLong, toJsNumber, toJsObj, toJson, toJsStr
public static final int TYPE_ID
public static final JsNull NULL
public int id()
public JsPrimitive toJsPrimitive()
public boolean isNull()
JsValue
public int hashCode()
Copyright © 2022. All rights reserved.