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 anull
value.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static DocumentNull
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentNull
deepCopy()
Returns the same instance since it is an immutable valueboolean
equals(java.lang.Object other)
All instances of DocumentNull are the sameint
hashCode()
All instances of DocumentNull have the same hash code since they are indistinguishablecom.inductiveautomation.ignition.common.gson.JsonNull
toJsonElement()
-
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:
deepCopy
in classDocumentElement
-
toJsonElement
public com.inductiveautomation.ignition.common.gson.JsonNull toJsonElement()
- Specified by:
toJsonElement
in classDocumentElement
-
hashCode
public int hashCode()
All instances of DocumentNull have the same hash code since they are indistinguishable- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
All instances of DocumentNull are the same- Overrides:
equals
in classjava.lang.Object
-
-