| Package | Description |
|---|---|
| com.github.f4b6a3.uuid.alt |
| Modifier and Type | Field and Description |
|---|---|
static GUID |
GUID.MAX
A special GUID that has all 128 bits set to ONE.
|
static GUID |
GUID.NAMESPACE_DNS
Name space to be used when the name string is a fully-qualified domain name.
|
static GUID |
GUID.NAMESPACE_OID
Name space to be used when the name string is an ISO OID.
|
static GUID |
GUID.NAMESPACE_URL
Name space to be used when the name string is a URL.
|
static GUID |
GUID.NAMESPACE_X500
Name space to be used when the name string is an X.500 DN (DER or text).
|
static GUID |
GUID.NIL
A special GUID that has all 128 bits set to ZERO.
|
| Modifier and Type | Method and Description |
|---|---|
static GUID |
GUID.v1()
Returns a gregorian time-based unique identifier (UUIDv1).
|
static GUID |
GUID.v2(byte localDomain,
int localIdentifier)
Returns a DCE Security unique identifier (UUIDv2).
|
static GUID |
GUID.v3(GUID namespace,
String name)
Returns a name-based unique identifier that uses MD5 hashing (UUIDv3).
|
static GUID |
GUID.v4()
Returns a random-based unique identifier (UUIDv4).
|
static GUID |
GUID.v5(GUID namespace,
String name)
Returns a name-based unique identifier that uses SHA-1 hashing (UUIDv5).
|
static GUID |
GUID.v6()
Returns a reordered gregorian time-based unique identifier (UUIDv6).
|
static GUID |
GUID.v7()
Returns a Unix epoch time-based unique identifier (UUIDv7).
|
| Modifier and Type | Method and Description |
|---|---|
int |
GUID.compareTo(GUID other)
Compares two GUIDs as unsigned 128-bit integers.
|
static GUID |
GUID.v3(GUID namespace,
String name)
Returns a name-based unique identifier that uses MD5 hashing (UUIDv3).
|
static GUID |
GUID.v5(GUID namespace,
String name)
Returns a name-based unique identifier that uses SHA-1 hashing (UUIDv5).
|
| Constructor and Description |
|---|
GUID(GUID guid)
Creates a new GUID.
|
Copyright © 2024. All rights reserved.