public final class JsonNull extends JsonElement
null value.| Modifier and Type | Field and Description |
|---|---|
static JsonNull |
INSTANCE
singleton for JsonNull
|
| Constructor and Description |
|---|
JsonNull()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
JsonNull |
deepCopy()
Returns the same instance since it is an immutable value
|
boolean |
equals(java.lang.Object other)
All instances of JsonNull are the same
|
int |
hashCode()
All instances of JsonNull have the same hash code since they are indistinguishable
|
getAsBigDecimal, getAsBigInteger, getAsBoolean, getAsByte, getAsCharacter, getAsDouble, getAsFloat, getAsInt, getAsJsonArray, getAsJsonNull, getAsJsonObject, getAsJsonPrimitive, getAsLong, getAsNumber, getAsShort, getAsString, isJsonArray, isJsonNull, isJsonObject, isJsonPrimitive, toStringpublic static final JsonNull INSTANCE
@Deprecated public JsonNull()
INSTANCE insteadpublic JsonNull deepCopy()
deepCopy in class JsonElementpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.ObjectCopyright © 2018. All Rights Reserved.