| Package | Description |
|---|---|
| net.dreamlu.mica.core.utils |
| Modifier and Type | Method and Description |
|---|---|
static ULID.Value |
ULID.fromBytes(byte[] data) |
ULID.Value |
ULID.Value.increment() |
ULID.Value |
ULID.nextMonotonicValue(ULID.Value previousUlid)
Returns the next monotonic value.
|
ULID.Value |
ULID.nextMonotonicValue(ULID.Value previousUlid,
long timestamp)
Returns the next monotonic value.
|
ULID.Value |
ULID.nextValue() |
ULID.Value |
ULID.nextValue(long timestamp) |
static ULID.Value |
ULID.parseULID(String ulidString) |
| Modifier and Type | Method and Description |
|---|---|
Optional<ULID.Value> |
ULID.nextStrictlyMonotonicValue(ULID.Value previousUlid)
Returns the next monotonic value or empty if an overflow happened while incrementing
the random part of the given previous ULID value.
|
Optional<ULID.Value> |
ULID.nextStrictlyMonotonicValue(ULID.Value previousUlid,
long timestamp)
Returns the next monotonic value or empty if an overflow happened while incrementing
the random part of the given previous ULID value.
|
| Modifier and Type | Method and Description |
|---|---|
int |
ULID.Value.compareTo(ULID.Value val) |
ULID.Value |
ULID.nextMonotonicValue(ULID.Value previousUlid)
Returns the next monotonic value.
|
ULID.Value |
ULID.nextMonotonicValue(ULID.Value previousUlid,
long timestamp)
Returns the next monotonic value.
|
Optional<ULID.Value> |
ULID.nextStrictlyMonotonicValue(ULID.Value previousUlid)
Returns the next monotonic value or empty if an overflow happened while incrementing
the random part of the given previous ULID value.
|
Optional<ULID.Value> |
ULID.nextStrictlyMonotonicValue(ULID.Value previousUlid,
long timestamp)
Returns the next monotonic value or empty if an overflow happened while incrementing
the random part of the given previous ULID value.
|
Copyright © 2024. All rights reserved.