Package com.fasterxml.uuid
Class UUIDGenerator
java.lang.Object
com.fasterxml.uuid.UUIDGenerator
- Direct Known Subclasses:
NoArgGenerator,StringArgGenerator
Minimal "tag" base class from which all generator implementations
derive. Actual generation methods are not included since different
generators take different number of arguments.
- Since:
- 3.0
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor is private to enforce singleton access. -
Method Summary
Modifier and TypeMethodDescriptionprotected static final long_toInt(byte[] buffer, int offset) protected static final long_toLong(byte[] buffer, int offset) protected static final long_toShort(byte[] buffer, int offset) abstract UUIDTypegetType()Accessor for determining type of UUIDs (version) that this generator instance will produce.
-
Constructor Details
-
UUIDGenerator
protected UUIDGenerator()Constructor is private to enforce singleton access.
-
-
Method Details
-
getType
Accessor for determining type of UUIDs (version) that this generator instance will produce. -
_toLong
protected static final long _toLong(byte[] buffer, int offset) -
_toInt
protected static final long _toInt(byte[] buffer, int offset) -
_toShort
protected static final long _toShort(byte[] buffer, int offset)
-