public final class DocumentNull extends DocumentElement
null
value.Modifier and Type | Field and Description |
---|---|
static DocumentNull |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
DocumentNull |
deepCopy()
Returns the same instance since it is an immutable value
|
boolean |
equals(java.lang.Object other)
All instances of DocumentNull are the same
|
int |
hashCode()
All instances of DocumentNull have the same hash code since they are indistinguishable
|
com.google.gson.JsonNull |
toJsonElement() |
fromJson, getAsBigDecimal, getAsBigInteger, getAsBoolean, getAsByte, getAsCharacter, getAsDocument, getAsDocumentArray, getAsDocumentNull, getAsDocumentPrimitive, getAsDouble, getAsFloat, getAsInt, getAsLong, getAsNumber, getAsShort, getAsString, isDocument, isDocumentArray, isDocumentNull, isDocumentPrimitive, toString
public static final DocumentNull INSTANCE
public DocumentNull deepCopy()
deepCopy
in class DocumentElement
public com.google.gson.JsonNull toJsonElement()
toJsonElement
in class DocumentElement
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object