| 程序包 | 说明 |
|---|---|
| io.polaris.core.converter.support | |
| io.polaris.core.ulid |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Ulid |
UlidConverter.doConvert(Object value,
JavaType<Ulid> targetType) |
| 限定符和类型 | 方法和说明 |
|---|---|
JavaType<Ulid> |
UlidConverter.getTargetType() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Ulid |
UlidConverter.doConvert(Object value,
JavaType<Ulid> targetType) |
| 限定符和类型 | 字段和说明 |
|---|---|
static Ulid |
Ulid.MAX
A special ULID that has all 128 bits set to ONE.
|
static Ulid |
Ulid.MIN
A special ULID that has all 128 bits set to ZERO.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Ulid |
UlidFactory.create()
Returns a new ULID.
|
Ulid |
UlidFactory.create(long time)
Returns a new ULID.
|
static Ulid |
Ulid.fast()
Returns a fast new ULID.
|
static Ulid |
Ulid.fast2()
Returns a fast new ULID.
|
static Ulid |
Ulid.from(byte[] bytes)
Converts a byte array into a ULID.
|
static Ulid |
Ulid.from(String string)
Converts a canonical string into a ULID.
|
static Ulid |
Ulid.from(UUID uuid)
Converts a UUID into a ULID.
|
static Ulid |
UlidCreator.getHashUlid(long time,
byte[] bytes)
Returns a Hash ULID.
|
static Ulid |
UlidCreator.getHashUlid(long time,
String string)
Returns a Hash ULID.
|
static Ulid |
UlidCreator.getMonotonicUlid()
Returns a Monotonic ULID.
|
static Ulid |
UlidCreator.getMonotonicUlid(long time)
Returns a Monotonic ULID.
|
static Ulid |
UlidCreator.getUlid()
Returns a ULID.
|
static Ulid |
UlidCreator.getUlid(long time)
Returns a ULID.
|
Ulid |
Ulid.increment()
Returns a new ULID by incrementing the random component of the current ULID.
|
static Ulid |
Ulid.max(long time)
Returns the maximum ULID for a given time.
|
static Ulid |
Ulid.min(long time)
Returns the minimum ULID for a given time.
|
Ulid |
Ulid.toRfc4122()
Converts the ULID into another ULID that is compatible with UUIDv4.
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
Ulid.compareTo(Ulid that)
Compares two ULIDs as unsigned 128-bit integers.
|
| 构造器和说明 |
|---|
Ulid(Ulid ulid)
Creates a new ULID.
|
Copyright © 2025 fossc. All rights reserved.