public final class CombUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static long |
getPrefix(UUID comb)
Returns the prefix from a Prefix COMB.
|
static Instant |
getPrefixInstant(UUID comb)
Returns the instant from a Prefix COMB.
|
static long |
getSuffix(UUID comb)
Returns the suffix from a Suffix COMB.
|
static Instant |
getSuffixInstant(UUID comb)
Returns the instant from a Suffix COMB.
|
public static long getPrefix(UUID comb)
The value returned is equivalent to the number of milliseconds since 1970-01-01 (Unix epoch).
comb - a Prefix COMBpublic static long getSuffix(UUID comb)
The value returned is equivalent to the number of milliseconds since 1970-01-01 (Unix epoch).
comb - a Suffix COMBpublic static Instant getPrefixInstant(UUID comb)
comb - a Prefix COMBInstantCopyright © 2024. All rights reserved.