deepcopy copies itself deeply.
getCreatedAt returns the creation time of this element.
getDataSize returns the data usage of this element.
getID returns the creation time of this element.
getMetaUsage returns the meta usage of this element.
getMovedAt returns the move time of this element.
getPositionedAt returns the time of this element when it was positioned
in the document by undo/redo or move operation.
getRemovedAt returns the removal time of this element.
getType returns the type of the value.
getValue returns the value of Primitive.
isNumericType checks numeric type by JSONPrimitive
isRemoved check if this element was removed.
setCreatedAt sets the creation time of this element manually.
setRemovedAt sets the remove time of this element.
OptionalremovedAt: TimeTickettoBytes creates an array representing the value.
toJSForTest returns value with meta data for testing.
toJSON returns the JSON encoding of the value.
toSortedJSON returns the sorted JSON encoding of the value.
StaticgetgetPrimitiveType returns the primitive type of the value.
StaticisisInteger checks if the given number is integer.
StaticisisSupport check if the given value is supported type.
Staticofof creates a new instance of Primitive.
StaticvaluevalueFromBytes parses the given bytes into value.
Primitiverepresents primitive data type including logical clock. It has a type and a value.