- All Implemented Interfaces:
BroIdPart
BroId生成器的随机部分实现
该类负责生成BroId中的随机位序列。通过指定的随机数生成器和位数,
生成指定长度的随机布尔序列。
- Author:
- congee
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface icu.congee.id.generator.broid.BroIdPart
getBits
-
Constructor Details
-
RandomBroIdPart
public RandomBroIdPart()
-
Method Details
-
next
生成下一个值
- Specified by:
next in interface BroIdPart
- Returns:
- 生成的
List<Boolean>对象