Class DocumentNull
- java.lang.Object
-
- com.inductiveautomation.ignition.common.document.DocumentElement
-
- com.inductiveautomation.ignition.common.document.DocumentNull
-
- All Implemented Interfaces:
java.io.Serializable
public final class DocumentNull extends DocumentElement
A class representing anullvalue.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static DocumentNullINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentNulldeepCopy()Returns the same instance since it is an immutable valuebooleanequals(java.lang.Object other)All instances of DocumentNull are the sameinthashCode()All instances of DocumentNull have the same hash code since they are indistinguishablecom.inductiveautomation.ignition.common.gson.JsonNulltoJsonElement()-
Methods inherited from class com.inductiveautomation.ignition.common.document.DocumentElement
fromJson, getAsBigDecimal, getAsBigInteger, getAsBoolean, getAsByte, getAsCharacter, getAsDocument, getAsDocumentArray, getAsDocumentNull, getAsDocumentPrimitive, getAsDouble, getAsFloat, getAsInt, getAsLong, getAsNumber, getAsShort, getAsString, isDocument, isDocumentArray, isDocumentNull, isDocumentPrimitive, toString
-
-
-
-
Field Detail
-
INSTANCE
public static final DocumentNull INSTANCE
-
-
Method Detail
-
deepCopy
public DocumentNull deepCopy()
Returns the same instance since it is an immutable value- Specified by:
deepCopyin classDocumentElement
-
toJsonElement
public com.inductiveautomation.ignition.common.gson.JsonNull toJsonElement()
- Specified by:
toJsonElementin classDocumentElement
-
hashCode
public int hashCode()
All instances of DocumentNull have the same hash code since they are indistinguishable- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
All instances of DocumentNull are the same- Overrides:
equalsin classjava.lang.Object
-
-