| Package | Description |
|---|---|
| com.fasterxml.uuid |
Package that contains classes that define Java UUID Generator API.
|
| com.fasterxml.uuid.impl |
Package that contains actual Java UUID Generator implementation classes,
including generators for different UUID types.
|
| Modifier and Type | Method and Description |
|---|---|
abstract UUIDType |
UUIDGenerator.getType()
Accessor for determining type of UUIDs (version) that this
generator instance will produce.
|
static UUIDType |
UUIDType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UUIDType[] |
UUIDType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Field and Description |
|---|---|
protected UUIDType |
NameBasedGenerator._type |
| Modifier and Type | Method and Description |
|---|---|
UUIDType |
TimeBasedGenerator.getType() |
UUIDType |
TimeBasedEpochGenerator.getType() |
UUIDType |
RandomBasedGenerator.getType() |
UUIDType |
NameBasedGenerator.getType() |
UUIDType |
TimeBasedReorderedGenerator.getType() |
UUIDType |
TimeBasedEpochRandomGenerator.getType() |
static UUIDType |
UUIDUtil.typeOf(UUID uuid)
Method for determining which type of UUID given UUID is.
|
| Modifier and Type | Method and Description |
|---|---|
static UUID |
UUIDUtil.constructUUID(UUIDType type,
byte[] uuidBytes)
Helper method for constructing UUID instances with appropriate type
|
static UUID |
UUIDUtil.constructUUID(UUIDType type,
long l1,
long l2) |
static long |
UUIDUtil.initUUIDFirstLong(long l1,
UUIDType type) |
| Constructor and Description |
|---|
NameBasedGenerator(UUID namespace,
MessageDigest digester,
UUIDType type) |
Copyright © 2024 FasterXML.com. All rights reserved.