类 RandomSequence
java.lang.Object
io.github.honhimw.uuid.RandomSequence
- 所有已实现的接口:
ClockSequence
- 从以下版本开始:
- 2025-12-09
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明longgenerateSequence(long seconds, int nanos) Generate sequence by unix-timestampintClock sequence bit-length in uuid.从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 io.github.honhimw.uuid.ClockSequence
now
-
构造器详细资料
-
RandomSequence
-
-
方法详细资料
-
generateSequence
public long generateSequence(long seconds, int nanos) 从接口复制的说明:ClockSequenceGenerate sequence by unix-timestamp- 指定者:
generateSequence在接口中ClockSequence- 参数:
seconds- unix secondnanos- unix nanosecond- 返回:
- clock sequence
-
usableBits
public int usableBits()从接口复制的说明:ClockSequenceClock sequence bit-length in uuid.- 指定者:
usableBits在接口中ClockSequence- 返回:
- bit length
-