Class UniqueId
java.lang.Object
tools.jackson.databind.util.UniqueId
- All Implemented Interfaces:
Serializable, Comparable<UniqueId>
Simple identity value class that may be used as Serializable key
for entries that need to retain identity of some kind, but where
actual appearance of id itself does not matter.
Instances NEVER equal each other, only themselves, even if generated
ids might be same (although they should not be).
- Since:
- 3.0
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprivate static final AtomicIntegerprivate static final long -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
ID_SEQ
-
_id
-
-
Constructor Details
-
UniqueId
-
-
Method Details
-
create
-
create
-
toString
-
equals
-
hashCode
-
compareTo
- Specified by:
compareToin interfaceComparable<UniqueId>
-