public final class JsonNull extends JsonElement
null
value.Modifier and Type | Field | Description |
---|---|---|
static JsonNull |
INSTANCE |
singleton for JsonNull
|
Constructor | Description |
---|---|
JsonNull() |
Deprecated.
|
Modifier and Type | Method | 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, toString
public static final JsonNull INSTANCE
@Deprecated public JsonNull()
INSTANCE
insteadpublic JsonNull deepCopy()
deepCopy
in class JsonElement
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
Copyright © 2018. All rights reserved.