Index

A B C D E F G H I J K L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

Assertions - Class in icu.congee.id.generator.objectid
Design by contract assertions.
assertNotNull(T) - Static method in class icu.congee.id.generator.objectid.Assertions
 
assertTrue(String, boolean) - Static method in class icu.congee.id.generator.objectid.Assertions
Throw AssertionError if the condition if false.

B

Base16 - Class in icu.congee.id.base
 
Base16() - Constructor for class icu.congee.id.base.Base16
 
Base32 - Class in icu.congee.id.base
使用Crockford Base32进行编码
Base32() - Constructor for class icu.congee.id.base.Base32
 
Base36 - Class in icu.congee.id.base
使用数字、大写字母实现Base36编解码
Base36() - Constructor for class icu.congee.id.base.Base36
 
Base62 - Class in icu.congee.id.base
Base62编码解码实现,使用数字、大写字母、小写字母
Base62() - Constructor for class icu.congee.id.base.Base62
 
Base64 - Class in icu.congee.id.base
使用URL Safe字符集并使用ASCII排序
Base64 - Class in icu.congee.id.generator.elasticflake
 
Base64() - Constructor for class icu.congee.id.base.Base64
 
Base64.InputStream - Class in icu.congee.id.generator.elasticflake
A Base64.InputStream will read data from another java.io.InputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
Base64.OutputStream - Class in icu.congee.id.generator.elasticflake
A Base64.OutputStream will write data to another java.io.OutputStream, given in the constructor, and encode/decode to/from Base64 notation on the fly.
BitUtils - Class in icu.congee.id.generator.broid
位操作工具类
BitUtils() - Constructor for class icu.congee.id.generator.broid.BitUtils
 
broId() - Static method in class icu.congee.id.util.IdUtil
生成BroId并转换为UUID
BroId - Class in icu.congee.id.generator.broid
 
BroId - Enum constant in enum class icu.congee.id.base.IdType
Brother ID,一种简单且易于理解的标识符格式。
BroId() - Constructor for class icu.congee.id.generator.broid.BroId
 
BroIdExample - Class in icu.congee.id.generator.broid
BroId示例类 展示如何使用BroId生成器创建不同类型的ID
BroIdExample() - Constructor for class icu.congee.id.generator.broid.BroIdExample
 
BroIdGenerator<T> - Class in icu.congee.id.generator.broid
BroId生成器 用于生成BroId实例
BroIdGenerator(BroIdLayout, Function<List<Boolean>, T>) - Constructor for class icu.congee.id.generator.broid.BroIdGenerator
构造函数
BroIdLayout - Class in icu.congee.id.generator.broid
BroId结构定义 定义ID的结构,由多个BroIdPart组成
BroIdLayout(List<BroIdPart>) - Constructor for class icu.congee.id.generator.broid.BroIdLayout
构造函数
BroIdPart - Interface in icu.congee.id.generator.broid
BroId组成部分接口 ID组成部分,是一个接口,属性value返回一个List<Boolean>,bit限制字段长度
businessId() - Static method in class icu.congee.id.util.IdUtil
生成基于时间的业务ID
bytes() - Static method in class icu.congee.id.generator.xid.Xid
 

C

clearCurrentUid() - Static method in class icu.congee.id.generator.wxseq.WxSeqGenerator
清除当前用户uid(模拟,实际应在请求结束时清理)
Clock - Interface in icu.congee.id.generator.lexical
时钟接口,用于生成时间戳
ClockSeqBroIdPart - Class in icu.congee.id.generator.broid.part
 
ClockSeqBroIdPart() - Constructor for class icu.congee.id.generator.broid.part.ClockSeqBroIdPart
 
close() - Method in class icu.congee.id.generator.elasticflake.Base64.OutputStream
Flushes and closes (I think, in the superclass) the stream.
COMBGUID - Enum constant in enum class icu.congee.id.base.IdType
组合全局唯一标识符(COMB GUID)。
CombGuidGenerator - Class in icu.congee.id.generator.combguid
CombGuid生成器
CombGuidGenerator() - Constructor for class icu.congee.id.generator.combguid.CombGuidGenerator
 
compareTo(BroId) - Method in class icu.congee.id.generator.broid.BroId
比较两个BroId实例,基于它们的value值 如果value列表长度不同,则较短的列表被视为较小 如果value列表长度相同,则通过逐位比较位列表中的布尔值
compareTo(CUID) - Method in class icu.congee.id.generator.cuid.CUID
compareTo(Ksuid) - Method in class icu.congee.id.generator.ksuid.Ksuid
Compares two KSUIDs as unsigned 160-bit integers.
compareTo(LexicalUUID) - Method in class icu.congee.id.generator.lexical.LexicalUUID
 
compareTo(ObjectId) - Method in class icu.congee.id.generator.objectid.ObjectId
 
compareTo(Xid) - Method in class icu.congee.id.generator.xid.Xid
 
convertToType(Class<T>, Object, String) - Static method in class icu.congee.id.generator.objectid.Assertions
Cast an object to the given class and return it, or throw IllegalArgumentException if it's not assignable to that class.
cosid() - Static method in class icu.congee.id.util.IdUtil
生成CosId(Coordinated Snowflake ID)
CosId - Enum constant in enum class icu.congee.id.base.IdType
标准Cos标识符实现。
CosIdGenerator - Class in icu.congee.id.generator.cosid
CosId分布式ID生成器实现类 采用80位二进制结构:44位时间戳 + 20位机器ID + 16位序列号
CosIdGenerator() - Constructor for class icu.congee.id.generator.cosid.CosIdGenerator
 
CosIdGenerator(long, long) - Constructor for class icu.congee.id.generator.cosid.CosIdGenerator
构造函数
CounterBroIdPart - Class in icu.congee.id.generator.broid.part
 
CounterBroIdPart() - Constructor for class icu.congee.id.generator.broid.part.CounterBroIdPart
 
create() - Method in class icu.congee.id.generator.ksuid.KsuidFactory
Create a KSUID.
create() - Method in class icu.congee.id.generator.ulid.ULIDGenerator
返回一个使用Crockford的base32表示法编码的ULID字符串。
create(Instant) - Method in class icu.congee.id.generator.ksuid.KsuidFactory
Create a KSUID with a given instant.
createSnowflakeGenerator() - Static method in class icu.congee.id.generator.broid.BroIdExample
创建一个标准的BroId生成器 结构:48位时间戳 + 16位计数器 + 48位机器标识 + 16位随机数
createUUIDv8Generator() - Static method in class icu.congee.id.generator.broid.BroIdExample
创建一个标准的BroId生成器 结构:48位时间戳 + 16位计数器 + 48位机器标识 + 16位随机数
CUID - Class in icu.congee.id.generator.cuid
Collision-resistant ID optimized for horizontal scaling and performance.
CUIDGenerationException - Exception Class in icu.congee.id.generator.cuid
Exception indicates that the generation of a new CUID has failed.
CUIDGenerationException(String) - Constructor for exception class icu.congee.id.generator.cuid.CUIDGenerationException
Creates a new instance.
CUIDGenerationException(Throwable) - Constructor for exception class icu.congee.id.generator.cuid.CUIDGenerationException
Creates a new instance.
CUIDv1 - Enum constant in enum class icu.congee.id.base.IdType
CUID版本1实现。
CUIDv1Generator - Class in icu.congee.id.generator.cuid
 
CUIDv1Generator() - Constructor for class icu.congee.id.generator.cuid.CUIDv1Generator
 
CUIDv2 - Enum constant in enum class icu.congee.id.base.IdType
CUID版本2实现。
CUIDv2Generator - Class in icu.congee.id.generator.cuid
 
CUIDv2Generator() - Constructor for class icu.congee.id.generator.cuid.CUIDv2Generator
 
CustomJavaScriptSafetyId - Enum constant in enum class icu.congee.id.base.IdType
JavaScript安全的自定义ID。
CustomTimeBasedBusinessId - Enum constant in enum class icu.congee.id.base.IdType
基于时间的业务标识符。
CustomTimeBasedRandomId - Enum constant in enum class icu.congee.id.base.IdType
基于时间的随机标识符。
customUUID() - Static method in class icu.congee.id.util.IdUtil
生成自定义UUID v8

D

datacenter - Variable in class icu.congee.id.generator.flakeid.FlakeId.Options
 
decode(byte[]) - Static method in class icu.congee.id.generator.elasticflake.Base64
Low-level access to decoding ASCII characters in the form of a byte array.
decode(byte[], int, int, int) - Static method in class icu.congee.id.generator.elasticflake.Base64
Low-level access to decoding ASCII characters in the form of a byte array.
decode(String) - Static method in class icu.congee.id.base.Base16
 
decode(String) - Static method in class icu.congee.id.base.Base32
 
decode(String) - Static method in class icu.congee.id.base.Base36
 
decode(String) - Static method in class icu.congee.id.base.Base62
 
decode(String) - Static method in class icu.congee.id.base.Base64
 
decode(String) - Static method in class icu.congee.id.generator.elasticflake.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
decode(String, int) - Static method in class icu.congee.id.generator.elasticflake.Base64
Decodes data from Base64 notation, automatically detecting gzip-compressed data and decompressing it.
DECODE - Static variable in class icu.congee.id.generator.elasticflake.Base64
Specify decoding in first bit.
decodeToObject(String) - Static method in class icu.congee.id.generator.elasticflake.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
decodeToObject(String, int, ClassLoader) - Static method in class icu.congee.id.generator.elasticflake.Base64
Attempts to decode Base64 data and deserialize a Java Object within.
decompose(long) - Static method in class icu.congee.id.generator.sonyflake.Sonyflake
 
DedicatedCounterUUIDv7Generator - Class in icu.congee.id.generator.uuid
在标准UUID v7上把rand_a的12bit作为固定位长的专用计数器,最大支持4096个,可统计毫秒内的生成的UUID总数
DedicatedCounterUUIDv7Generator() - Constructor for class icu.congee.id.generator.uuid.DedicatedCounterUUIDv7Generator
 
DO_BREAK_LINES - Static variable in class icu.congee.id.generator.elasticflake.Base64
Do break lines when encoding.
DONT_GUNZIP - Static variable in class icu.congee.id.generator.elasticflake.Base64
Specify that gzipped data should not be automatically gunzipped.

E

elapsedTime(long) - Static method in class icu.congee.id.generator.sonyflake.Sonyflake
 
ElasticFlake - Enum constant in enum class icu.congee.id.base.IdType
Elasticsearch兼容的雪花ID。
ElasticflakeIdGenerator - Class in icu.congee.id.generator.elasticflake
 
ElasticflakeIdGenerator() - Constructor for class icu.congee.id.generator.elasticflake.ElasticflakeIdGenerator
 
encode(byte[]) - Static method in class icu.congee.id.base.Base16
 
encode(byte[]) - Static method in class icu.congee.id.base.Base32
 
encode(byte[]) - Static method in class icu.congee.id.base.Base36
 
encode(byte[]) - Static method in class icu.congee.id.base.Base62
 
encode(byte[]) - Static method in class icu.congee.id.base.Base64
 
encode(ByteBuffer, ByteBuffer) - Static method in class icu.congee.id.generator.elasticflake.Base64
Performs Base64 encoding on the raw ByteBuffer, writing it to the encoded ByteBuffer.
encode(ByteBuffer, CharBuffer) - Static method in class icu.congee.id.generator.elasticflake.Base64
Performs Base64 encoding on the raw ByteBuffer, writing it to the encoded CharBuffer.
ENCODE - Static variable in class icu.congee.id.generator.elasticflake.Base64
Specify encoding in first bit.
encodeBytes(byte[]) - Static method in class icu.congee.id.generator.elasticflake.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int) - Static method in class icu.congee.id.generator.elasticflake.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int) - Static method in class icu.congee.id.generator.elasticflake.Base64
Encodes a byte array into Base64 notation.
encodeBytes(byte[], int, int, int) - Static method in class icu.congee.id.generator.elasticflake.Base64
Encodes a byte array into Base64 notation.
encodeBytesToBytes(byte[]) - Static method in class icu.congee.id.generator.elasticflake.Base64
Similar to Base64.encodeBytes(byte[]) but returns a byte array instead of instantiating a String.
encodeBytesToBytes(byte[], int, int, int) - Static method in class icu.congee.id.generator.elasticflake.Base64
Similar to Base64.encodeBytes(byte[], int, int, int) but returns a byte array instead of instantiating a String.
encodeObject(Serializable) - Static method in class icu.congee.id.generator.elasticflake.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
encodeObject(Serializable, int) - Static method in class icu.congee.id.generator.elasticflake.Base64
Serializes an object and returns the Base64-encoded version of that serialized object.
epoch - Variable in class icu.congee.id.generator.flakeid.FlakeId.Options
 
EPOCH_OFFSET - Static variable in class icu.congee.id.generator.ksuid.Ksuid
Number of seconds of 2014-05-13T16:53:20Z (14e8).
equals(Object) - Method in class icu.congee.id.generator.broid.BroId
 
equals(Object) - Method in class icu.congee.id.generator.cuid.CUID
Returns true if the argument is equal to current object, false otherwise.
equals(Object) - Method in class icu.congee.id.generator.ksuid.Ksuid
Checks if some other KSUID is equal to this one.
equals(Object) - Method in class icu.congee.id.generator.objectid.ObjectId
 
equals(Object) - Method in class icu.congee.id.generator.xid.Xid
 

F

fail() - Static method in class icu.congee.id.generator.objectid.Assertions
 
fail(String) - Static method in class icu.congee.id.generator.objectid.Assertions
 
fast() - Static method in class icu.congee.id.generator.ksuid.Ksuid
Returns a fast new KSUID.
fastToString(UUID) - Static method in class icu.congee.id.util.IdUtil
使用高效的toString方法将UUID转换为字符串
FastUUIDToString - Class in icu.congee.id.generator.uuid
高效的UUID toString实现
FastUUIDToString() - Constructor for class icu.congee.id.generator.uuid.FastUUIDToString
 
fastUUIDv7String() - Static method in class icu.congee.id.util.IdUtil
生成一个UUID v7并使用高效的toString方法转换为字符串
Flake - Enum constant in enum class icu.congee.id.base.IdType
Twitter风格的雪花ID。
FlakeId - Class in icu.congee.id.generator.flakeid
Flake ID 生成器在分布式环境中生成 k 有序、无冲突的 ID。
FlakeId(FlakeId.Options) - Constructor for class icu.congee.id.generator.flakeid.FlakeId
表示一个 ID 生成器。
FlakeID - Enum constant in enum class icu.congee.id.base.IdType
扩展的雪花ID。
FlakeId.Options - Class in icu.congee.id.generator.flakeid
生成器选项类
FlakeIdGenerator - Class in icu.congee.id.generator.flake
 
FlakeIdGenerator - Class in icu.congee.id.generator.flakeid
Flake ID生成器的Java实现
FlakeIdGenerator() - Constructor for class icu.congee.id.generator.flake.FlakeIdGenerator
 
FlakeIdGenerator() - Constructor for class icu.congee.id.generator.flakeid.FlakeIdGenerator
 
FlexId - Enum constant in enum class icu.congee.id.base.IdType
MyBatis-Flex框架的ID生成器。
FlexIDKeyGenerator - Class in icu.congee.id.generator.flexid
独创的 FlexID 算法(简单、好用):
FlexIDKeyGenerator() - Constructor for class icu.congee.id.generator.flexid.FlexIDKeyGenerator
 
FlexIDKeyGenerator(long) - Constructor for class icu.congee.id.generator.flexid.FlexIDKeyGenerator
 
flushBase64() - Method in class icu.congee.id.generator.elasticflake.Base64.OutputStream
Method added by PHIL.
FNV1A - Class in icu.congee.id.generator.lexical
FNV1A哈希算法实现 用于生成分布式系统中的workerId
FNV1A() - Constructor for class icu.congee.id.generator.lexical.FNV1A
 
from(byte[]) - Static method in class icu.congee.id.generator.ksuid.Ksuid
Convert a byte array into a KSUID.
from(String) - Static method in class icu.congee.id.generator.ksuid.Ksuid
Convert a canonical string into a KSUID.
fromClock(Clock) - Static method in class icu.congee.id.generator.lexical.LexicalUUID
 
fromDNS(String) - Static method in class icu.congee.id.generator.uuid.UUIDv3Generator
使用DNS名称空间生成UUIDv3
fromDNS(String) - Static method in class icu.congee.id.generator.uuid.UUIDv5Generator
使用DNS名称空间生成UUIDv5
fromNamespaceAndName(UUID, String) - Static method in class icu.congee.id.generator.uuid.UUIDv3Generator
根据名称空间和名称生成UUIDv3
fromNamespaceAndName(UUID, String) - Static method in class icu.congee.id.generator.uuid.UUIDv5Generator
根据名称空间和名称生成UUIDv5
fromOID(String) - Static method in class icu.congee.id.generator.uuid.UUIDv3Generator
使用OID名称空间生成UUIDv3
fromOID(String) - Static method in class icu.congee.id.generator.uuid.UUIDv5Generator
使用OID名称空间生成UUIDv5
fromString(String) - Static method in class icu.congee.id.generator.cuid.CUID
Creates a CUID from the string standard representation.
fromString(String) - Static method in class icu.congee.id.generator.lexical.LexicalUUID
 
fromURL(String) - Static method in class icu.congee.id.generator.uuid.UUIDv3Generator
使用URL名称空间生成UUIDv3
fromURL(String) - Static method in class icu.congee.id.generator.uuid.UUIDv5Generator
使用URL名称空间生成UUIDv5
fromX500(String) - Static method in class icu.congee.id.generator.uuid.UUIDv3Generator
使用X500 DN名称空间生成UUIDv3
fromX500(String) - Static method in class icu.congee.id.generator.uuid.UUIDv5Generator
使用X500 DN名称空间生成UUIDv5

G

generate() - Method in interface icu.congee.id.base.IdGenerator
生成一个唯一标识符。
generate() - Method in class icu.congee.id.generator.broid.impl.UUIDv8BroIdGenerator
 
generate() - Method in class icu.congee.id.generator.combguid.CombGuidGenerator
 
generate() - Method in class icu.congee.id.generator.cosid.CosIdGenerator
实现IdGenerator接口的generate方法
generate() - Method in class icu.congee.id.generator.cuid.CUIDv1Generator
 
generate() - Method in class icu.congee.id.generator.cuid.CUIDv2Generator
 
generate() - Method in class icu.congee.id.generator.custom.TimeBasedBusinessIdGenerator
 
generate() - Method in class icu.congee.id.generator.custom.TimeBasedRandomIdGenerator
 
generate() - Method in class icu.congee.id.generator.elasticflake.ElasticflakeIdGenerator
 
generate() - Method in class icu.congee.id.generator.flake.FlakeIdGenerator
 
generate() - Method in class icu.congee.id.generator.flakeid.FlakeIdGenerator
 
generate() - Method in class icu.congee.id.generator.flexid.FlexIDKeyGenerator
 
generate() - Method in class icu.congee.id.generator.js.JavaScriptSafetyIdGenerator
实现 IdGenerator 接口的方法,用于生成一个 53 位的 JavaScript 安全 ID。
generate() - Method in class icu.congee.id.generator.ksuid.KsuidGenerator
 
generate() - Method in class icu.congee.id.generator.lexical.LexicalUUIDGenerator
 
generate() - Method in class icu.congee.id.generator.mist.HighPerformanceMistGenerator
生成唯一编号
generate() - Method in class icu.congee.id.generator.mist.SecureMistGenerator
生成唯一编号
generate() - Method in class icu.congee.id.generator.mist.StandardMistGenerator
生成唯一编号
generate() - Method in class icu.congee.id.generator.nano.NanoIdGenerator
 
generate() - Method in class icu.congee.id.generator.objectid.ObjectIdGenerator
 
generate() - Method in class icu.congee.id.generator.ordereduuid.OrderedUuidGenerator
 
generate() - Method in class icu.congee.id.generator.pushid.PushIDGenerator
 
generate() - Method in class icu.congee.id.generator.shardingid.ShardingIdGenerator
 
generate() - Method in class icu.congee.id.generator.sid.SIDGenerator
生成一个新的字符串ID
generate() - Method in class icu.congee.id.generator.snowflake.SnowflakeIdGenerator
 
generate() - Method in class icu.congee.id.generator.sonyflake.SonyflakeIdGenerator
 
generate() - Method in class icu.congee.id.generator.ulid.ULIDGenerator
 
generate() - Method in class icu.congee.id.generator.uuid.UUIDv1Generator
 
generate() - Method in class icu.congee.id.generator.uuid.UUIDv2Generator
 
generate() - Method in class icu.congee.id.generator.uuid.UUIDv4Generator
 
generate() - Method in class icu.congee.id.generator.uuid.UUIDv6Generator
 
generate() - Method in class icu.congee.id.generator.uuid.UUIDv7Generator
 
generate() - Method in class icu.congee.id.generator.uuid.UUIDv8Generator
 
generate() - Method in class icu.congee.id.generator.wxseq.WxSeqGenerator
 
generate() - Method in class icu.congee.id.generator.xid.XidGenerator
 
generate(int) - Method in interface icu.congee.id.base.IdGenerator
批量生成指定数量的唯一标识符
generateFlakeId() - Method in class icu.congee.id.generator.flake.FlakeIdGenerator
 
generateId() - Method in class icu.congee.id.generator.cosid.CosIdGenerator
生成分布式ID的字节数组 该方法使用synchronized确保线程安全
generateId() - Method in class icu.congee.id.generator.shardingid.InstagramIdGenerator
生成一个唯一的分布式ID
generatePushID() - Static method in class icu.congee.id.generator.pushid.PushIDGenerator
生成一个新的Push ID
get() - Method in interface icu.congee.id.generator.lexical.Clock
获取Clock实例 这个方法主要是为了方便Java代码获取单例实例
get() - Static method in class icu.congee.id.generator.objectid.ObjectId
Gets a new object id.
get() - Method in interface icu.congee.id.generator.sonyflake.Sonyflake.MachineIDSupplier
 
get() - Static method in class icu.congee.id.generator.xid.Xid
Gets a new object id.
getBase64UUID() - Method in class icu.congee.id.generator.elasticflake.TimeBasedUUIDGenerator
 
getBits() - Method in interface icu.congee.id.generator.broid.BroIdPart
获取该部分的位长度
getBits() - Method in class icu.congee.id.generator.broid.part.VersionBroIdPart
 
getComparator() - Static method in class icu.congee.id.generator.broid.BroId
返回一个比较器,用于比较两个BroId实例
getCurrentUnixNano() - Static method in class icu.congee.id.util.TimeUtils
获取当前时间自 Unix 纪元以来的纳秒数
getDate() - Method in class icu.congee.id.generator.objectid.ObjectId
Gets the timestamp as a Date instance.
getDate() - Method in class icu.congee.id.generator.xid.Xid
Gets the timestamp as a Date instance.
getIdGeneratorMap() - Static method in class icu.congee.id.util.IdUtil
获取所有可用的ID生成器映射
getInstance() - Static method in class icu.congee.id.generator.broid.impl.UUIDv8BroIdGenerator
 
getInstance() - Static method in class icu.congee.id.generator.lexical.MicrosecondEpochClock
获取MicrosecondEpochClock的单例实例
getInstance() - Static method in class icu.congee.id.generator.mist.SecureMistGenerator
获取SecureMistGenerator的单例实例
getInstance() - Static method in class icu.congee.id.generator.mist.StandardMistGenerator
获取StandardMistGenerator的单例实例
getInstant() - Method in class icu.congee.id.generator.ksuid.Ksuid
Return the instant of creation.
getInstant(String) - Static method in class icu.congee.id.generator.ksuid.Ksuid
Return the instant of creation.
getKsuid() - Static method in class icu.congee.id.generator.ksuid.KsuidCreator
Returns a Segment's KSUID.
getKsuid(Instant) - Static method in class icu.congee.id.generator.ksuid.KsuidCreator
Returns a Segment's KSUID.
getMonotonicKsuid() - Static method in class icu.congee.id.generator.ksuid.KsuidCreator
Returns a Monotonic KSUID.
getMonotonicKsuid(Instant) - Static method in class icu.congee.id.generator.ksuid.KsuidCreator
Returns a Monotonic KSUID.
getPayload() - Method in class icu.congee.id.generator.ksuid.Ksuid
Return the payload.
getPayload(String) - Static method in class icu.congee.id.generator.ksuid.Ksuid
Return the payload.
getSecureMungedAddress() - Static method in class icu.congee.id.generator.elasticflake.MacAddressProvider
 
getSmallestWithDate(Date) - Static method in class icu.congee.id.generator.objectid.ObjectId
Gets a new object id with the given date value and all other bits zeroed.
getSmallestWithDate(Date) - Static method in class icu.congee.id.generator.xid.Xid
Gets a new object id with the given date value and all other bits zeroed.
getSubsecondKsuid() - Static method in class icu.congee.id.generator.ksuid.KsuidCreator
Returns a KSUID with sub-second precision.
getSubsecondKsuid(Instant) - Static method in class icu.congee.id.generator.ksuid.KsuidCreator
Returns a KSUID with sub-second precision.
getTime() - Method in class icu.congee.id.generator.ksuid.Ksuid
Return the creation time.
getTime(String) - Static method in class icu.congee.id.generator.ksuid.Ksuid
Return the creation time.
getTimestamp() - Method in class icu.congee.id.generator.objectid.ObjectId
Gets the timestamp (number of seconds since the Unix epoch).
getTimestamp() - Method in class icu.congee.id.generator.xid.Xid
Gets the timestamp (number of seconds since the Unix epoch).
GZIP - Static variable in class icu.congee.id.generator.elasticflake.Base64
Specify that data should be gzip-compressed in second bit.

H

hash(byte[]) - Static method in class icu.congee.id.generator.lexical.FNV1A
 
hash(String) - Static method in class icu.congee.id.generator.lexical.FNV1A
 
hashCode() - Method in class icu.congee.id.generator.broid.BroId
 
hashCode() - Method in class icu.congee.id.generator.cuid.CUID
Generates a hash code.
hashCode() - Method in class icu.congee.id.generator.ksuid.Ksuid
Returns a hash code value for the KSUID.
hashCode() - Method in class icu.congee.id.generator.objectid.ObjectId
 
hashCode() - Method in class icu.congee.id.generator.xid.Xid
 
HighPerformanceMistGenerator - Class in icu.congee.id.generator.mist
高性能薄雾算法ID生成器
HighPerformanceMistGenerator() - Constructor for class icu.congee.id.generator.mist.HighPerformanceMistGenerator
 

I

icu.congee.id - package icu.congee.id
 
icu.congee.id.base - package icu.congee.id.base
 
icu.congee.id.generator.broid - package icu.congee.id.generator.broid
 
icu.congee.id.generator.broid.impl - package icu.congee.id.generator.broid.impl
 
icu.congee.id.generator.broid.part - package icu.congee.id.generator.broid.part
 
icu.congee.id.generator.combguid - package icu.congee.id.generator.combguid
 
icu.congee.id.generator.cosid - package icu.congee.id.generator.cosid
 
icu.congee.id.generator.cuid - package icu.congee.id.generator.cuid
 
icu.congee.id.generator.custom - package icu.congee.id.generator.custom
 
icu.congee.id.generator.elasticflake - package icu.congee.id.generator.elasticflake
 
icu.congee.id.generator.flake - package icu.congee.id.generator.flake
 
icu.congee.id.generator.flakeid - package icu.congee.id.generator.flakeid
 
icu.congee.id.generator.flexid - package icu.congee.id.generator.flexid
 
icu.congee.id.generator.js - package icu.congee.id.generator.js
 
icu.congee.id.generator.ksuid - package icu.congee.id.generator.ksuid
 
icu.congee.id.generator.lexical - package icu.congee.id.generator.lexical
 
icu.congee.id.generator.mist - package icu.congee.id.generator.mist
 
icu.congee.id.generator.nano - package icu.congee.id.generator.nano
 
icu.congee.id.generator.objectid - package icu.congee.id.generator.objectid
 
icu.congee.id.generator.ordereduuid - package icu.congee.id.generator.ordereduuid
 
icu.congee.id.generator.pushid - package icu.congee.id.generator.pushid
 
icu.congee.id.generator.shardingid - package icu.congee.id.generator.shardingid
 
icu.congee.id.generator.sid - package icu.congee.id.generator.sid
 
icu.congee.id.generator.snowflake - package icu.congee.id.generator.snowflake
 
icu.congee.id.generator.sonyflake - package icu.congee.id.generator.sonyflake
 
icu.congee.id.generator.ulid - package icu.congee.id.generator.ulid
 
icu.congee.id.generator.uuid - package icu.congee.id.generator.uuid
 
icu.congee.id.generator.wxseq - package icu.congee.id.generator.wxseq
 
icu.congee.id.generator.xid - package icu.congee.id.generator.xid
 
icu.congee.id.util - package icu.congee.id.util
 
id - Variable in class icu.congee.id.generator.flakeid.FlakeId.Options
 
Id - Interface in icu.congee.id.base
 
IdGenerator - Interface in icu.congee.id.base
ID生成器接口
idType() - Method in interface icu.congee.id.base.IdGenerator
获取当前生成器的标识符类型
idType() - Method in class icu.congee.id.generator.broid.impl.UUIDv8BroIdGenerator
 
idType() - Method in class icu.congee.id.generator.combguid.CombGuidGenerator
 
idType() - Method in class icu.congee.id.generator.cosid.CosIdGenerator
实现IdGenerator接口的idType方法
idType() - Method in class icu.congee.id.generator.cuid.CUIDv1Generator
 
idType() - Method in class icu.congee.id.generator.cuid.CUIDv2Generator
 
idType() - Method in class icu.congee.id.generator.custom.TimeBasedBusinessIdGenerator
 
idType() - Method in class icu.congee.id.generator.custom.TimeBasedRandomIdGenerator
 
idType() - Method in class icu.congee.id.generator.elasticflake.ElasticflakeIdGenerator
 
idType() - Method in class icu.congee.id.generator.flake.FlakeIdGenerator
 
idType() - Method in class icu.congee.id.generator.flakeid.FlakeIdGenerator
 
idType() - Method in class icu.congee.id.generator.flexid.FlexIDKeyGenerator
 
idType() - Method in class icu.congee.id.generator.js.JavaScriptSafetyIdGenerator
获取生成的 ID 类型。
idType() - Method in class icu.congee.id.generator.ksuid.KsuidGenerator
 
idType() - Method in class icu.congee.id.generator.lexical.LexicalUUIDGenerator
 
idType() - Method in class icu.congee.id.generator.mist.HighPerformanceMistGenerator
 
idType() - Method in class icu.congee.id.generator.mist.SecureMistGenerator
 
idType() - Method in class icu.congee.id.generator.mist.StandardMistGenerator
 
idType() - Method in class icu.congee.id.generator.nano.NanoIdGenerator
 
idType() - Method in class icu.congee.id.generator.objectid.ObjectIdGenerator
 
idType() - Method in class icu.congee.id.generator.ordereduuid.OrderedUuidGenerator
 
idType() - Method in class icu.congee.id.generator.pushid.PushIDGenerator
 
idType() - Method in class icu.congee.id.generator.shardingid.ShardingIdGenerator
 
idType() - Method in class icu.congee.id.generator.sid.SIDGenerator
获取ID生成器类型
idType() - Method in class icu.congee.id.generator.snowflake.SnowflakeIdGenerator
 
idType() - Method in class icu.congee.id.generator.sonyflake.SonyflakeIdGenerator
 
idType() - Method in class icu.congee.id.generator.ulid.ULIDGenerator
 
idType() - Method in class icu.congee.id.generator.uuid.UUIDv1Generator
 
idType() - Method in class icu.congee.id.generator.uuid.UUIDv2Generator
 
idType() - Method in class icu.congee.id.generator.uuid.UUIDv4Generator
 
idType() - Method in class icu.congee.id.generator.uuid.UUIDv6Generator
 
idType() - Method in class icu.congee.id.generator.uuid.UUIDv7Generator
 
idType() - Method in class icu.congee.id.generator.uuid.UUIDv8Generator
 
idType() - Method in class icu.congee.id.generator.wxseq.WxSeqGenerator
 
idType() - Method in class icu.congee.id.generator.xid.XidGenerator
 
IdType - Enum Class in icu.congee.id.base
标识符类型枚举,定义了系统支持的各种ID生成策略。
IdUtil - Class in icu.congee.id.util
ID生成工具类
IdUtil() - Constructor for class icu.congee.id.util.IdUtil
 
IncreasedClockPrecisionUUIDv7Generator - Class in icu.congee.id.generator.uuid
在标准UUID v7上把rand_a的12bit作为更高精度的时钟,时间精度大约为250ns
IncreasedClockPrecisionUUIDv7Generator() - Constructor for class icu.congee.id.generator.uuid.IncreasedClockPrecisionUUIDv7Generator
 
increment() - Method in class icu.congee.id.generator.ksuid.Ksuid
Returns a new KSUID by incrementing the payload of the current KSUID.
InputStream(InputStream) - Constructor for class icu.congee.id.generator.elasticflake.Base64.InputStream
Constructs a Base64.InputStream in DECODE mode.
InputStream(InputStream, int) - Constructor for class icu.congee.id.generator.elasticflake.Base64.InputStream
Constructs a Base64.InputStream in either ENCODE or DECODE mode.
InstagramIdGenerator - Class in icu.congee.id.generator.shardingid
Instagram风格的分布式ID生成器
InstagramIdGenerator(int) - Constructor for class icu.congee.id.generator.shardingid.InstagramIdGenerator
构造一个Instagram风格的ID生成器
InvalidMachineIDException() - Constructor for exception class icu.congee.id.generator.sonyflake.Sonyflake.InvalidMachineIDException
 
isTrue(String, boolean) - Static method in class icu.congee.id.generator.objectid.Assertions
Throw IllegalStateException if the condition if false.
isTrue(String, boolean) - Static method in class icu.congee.id.generator.xid.Xid
 
isTrueArgument(String, boolean) - Static method in class icu.congee.id.generator.objectid.Assertions
Throw IllegalArgumentException if the condition if false.
isTrueArgument(String, T, boolean) - Static method in class icu.congee.id.generator.objectid.Assertions
Throw IllegalArgumentException if the condition if false, otherwise return the value.
isValid(String) - Static method in class icu.congee.id.generator.cuid.CUID
Checks the CUID from the string standard representation.
isValid(String) - Static method in class icu.congee.id.generator.ksuid.Ksuid
Check if the input string is valid.
isValid(String) - Static method in class icu.congee.id.generator.objectid.ObjectId
Checks if a string could be an ObjectId.
isValid(String) - Static method in class icu.congee.id.generator.ulid.ULIDGenerator
检查字符串是否为有效的ULID。
isValid(String) - Static method in class icu.congee.id.generator.xid.Xid
Checks if a string could be an Xid.

J

JavaScriptSafetyIdGenerator - Class in icu.congee.id.generator.js
生成适用于 JavaScript 的安全 ID 的生成器类。
JavaScriptSafetyIdGenerator() - Constructor for class icu.congee.id.generator.js.JavaScriptSafetyIdGenerator
 
JavaScriptSafetyIdGenerator(long) - Constructor for class icu.congee.id.generator.js.JavaScriptSafetyIdGenerator
 
JavaScriptSafetyIdGenerator(Random) - Constructor for class icu.congee.id.generator.js.JavaScriptSafetyIdGenerator
构造函数,使用默认纪元时间初始化生成器
JavaScriptSafetyIdGenerator(Random, long) - Constructor for class icu.congee.id.generator.js.JavaScriptSafetyIdGenerator
构造函数,使用指定的纪元时间初始化生成器

K

Ksuid - Class in icu.congee.id.generator.ksuid
A class that represents KSUIDs.
Ksuid(long, byte[]) - Constructor for class icu.congee.id.generator.ksuid.Ksuid
Creates a new KSUID.
Ksuid(Ksuid) - Constructor for class icu.congee.id.generator.ksuid.Ksuid
Creates a new KSUID.
KSUID - Enum constant in enum class icu.congee.id.base.IdType
可排序的唯一标识符。
KSUID_BYTES - Static variable in class icu.congee.id.generator.ksuid.Ksuid
Number of bytes of a KSUID.
KSUID_CHARS - Static variable in class icu.congee.id.generator.ksuid.Ksuid
Number of characters of a KSUID.
KsuidCreator - Class in icu.congee.id.generator.ksuid
A class that generates KSUIDs.
KsuidFactory - Class in icu.congee.id.generator.ksuid
A class that actually generates KSUIDs.
KsuidFactory() - Constructor for class icu.congee.id.generator.ksuid.KsuidFactory
Default constructor.
KsuidGenerator - Class in icu.congee.id.generator.ksuid
 
KsuidGenerator() - Constructor for class icu.congee.id.generator.ksuid.KsuidGenerator
 

L

lexicalUUID() - Static method in class icu.congee.id.util.IdUtil
生成字典序UUID
LexicalUUID - Class in icu.congee.id.generator.lexical
 
LexicalUUID - Enum constant in enum class icu.congee.id.base.IdType
支持字典序排序的UUID。
LexicalUUID(long, long) - Constructor for class icu.congee.id.generator.lexical.LexicalUUID
 
LexicalUUID(Clock) - Constructor for class icu.congee.id.generator.lexical.LexicalUUID
 
LexicalUUID(Clock, long) - Constructor for class icu.congee.id.generator.lexical.LexicalUUID
 
LexicalUUIDGenerator - Class in icu.congee.id.generator.lexical
一个128位的UUID,由64位时间戳和64位工作节点ID组成
LexicalUUIDGenerator() - Constructor for class icu.congee.id.generator.lexical.LexicalUUIDGenerator
 
listToByteArray(List<Boolean>) - Static method in class icu.congee.id.generator.broid.BitUtils
将List<Boolean>转换为byte数组
listToLong(List<Boolean>) - Static method in class icu.congee.id.generator.broid.BitUtils
将List<Boolean>转换为long值
long2bytes(long) - Method in interface icu.congee.id.base.Id
 
longToList(long, int) - Static method in class icu.congee.id.generator.broid.BitUtils
将long值转换为List<Boolean>

M

MacAddressProvider - Class in icu.congee.id.generator.elasticflake
 
MacAddressProvider() - Constructor for class icu.congee.id.generator.elasticflake.MacAddressProvider
 
machineID(long) - Static method in class icu.congee.id.generator.sonyflake.Sonyflake
 
machineIDSupplier - Variable in class icu.congee.id.generator.sonyflake.Sonyflake.Settings
 
machineIDValidator - Variable in class icu.congee.id.generator.sonyflake.Sonyflake.Settings
 
main(String[]) - Static method in class icu.congee.id.generator.broid.BroIdExample
主方法,展示不同生成器的使用
main(String[]) - Static method in class icu.congee.id.generator.cosid.CosIdGenerator
主方法,用于测试ID生成器
main(String[]) - Static method in class icu.congee.id.generator.flake.FlakeIdGenerator
 
main(String[]) - Static method in class icu.congee.id.generator.pushid.PushIDGenerator
测试生成Push ID的主方法
main(String[]) - Static method in class icu.congee.id.generator.shardingid.InstagramIdGenerator
测试方法,演示ID生成器的使用方式
main(String[]) - Static method in class icu.congee.id.Main
 
main(String[]) - Static method in class icu.congee.id.util.TimeUtils
 
Main - Class in icu.congee.id
 
Main() - Constructor for class icu.congee.id.Main
 
MicrosecondEpochClock - Class in icu.congee.id.generator.lexical
一个基于微秒级时间戳的时钟实现
MIST_FAST_ID - Enum constant in enum class icu.congee.id.base.IdType
高性能Mist ID实现。
MIST_ID - Enum constant in enum class icu.congee.id.base.IdType
标准Mist ID实现。
MIST_SECURE_ID - Enum constant in enum class icu.congee.id.base.IdType
安全增强的Mist ID实现。
MistGenerator - Interface in icu.congee.id.generator.mist
薄雾算法接口
monotonic() - Static method in class icu.congee.id.generator.js.JavaScriptSafetyIdGenerator
 
MonotonicRandomUUIDv7Generator - Class in icu.congee.id.generator.uuid
在标准UUID v7上把rand_b的62bit作为计数器,随机单调递增
MonotonicRandomUUIDv7Generator() - Constructor for class icu.congee.id.generator.uuid.MonotonicRandomUUIDv7Generator
 

N

NAMESPACE_DNS - Static variable in class icu.congee.id.generator.uuid.UUIDv3Generator
预定义的DNS名称空间UUID
NAMESPACE_DNS - Static variable in class icu.congee.id.generator.uuid.UUIDv5Generator
预定义的DNS名称空间UUID
NAMESPACE_OID - Static variable in class icu.congee.id.generator.uuid.UUIDv3Generator
预定义的OID名称空间UUID
NAMESPACE_OID - Static variable in class icu.congee.id.generator.uuid.UUIDv5Generator
预定义的OID名称空间UUID
NAMESPACE_URL - Static variable in class icu.congee.id.generator.uuid.UUIDv3Generator
预定义的URL名称空间UUID
NAMESPACE_URL - Static variable in class icu.congee.id.generator.uuid.UUIDv5Generator
预定义的URL名称空间UUID
NAMESPACE_X500 - Static variable in class icu.congee.id.generator.uuid.UUIDv3Generator
预定义的X500 DN名称空间UUID
NAMESPACE_X500 - Static variable in class icu.congee.id.generator.uuid.UUIDv5Generator
预定义的X500 DN名称空间UUID
NanoId - Enum constant in enum class icu.congee.id.base.IdType
Nano ID实现。
NanoIdGenerator - Class in icu.congee.id.generator.nano
NanoId生成器
NanoIdGenerator() - Constructor for class icu.congee.id.generator.nano.NanoIdGenerator
 
newInstance() - Static method in class icu.congee.id.generator.ksuid.KsuidFactory
Returns a new Segment's KSUID factory.
newInstance(Sonyflake.Settings) - Static method in class icu.congee.id.generator.sonyflake.Sonyflake
 
newInstance(IntFunction<byte[]>) - Static method in class icu.congee.id.generator.ksuid.KsuidFactory
Returns a new Segment's KSUID factory.
newInstance(LongSupplier) - Static method in class icu.congee.id.generator.ksuid.KsuidFactory
Returns a new Segment's KSUID factory.
newInstance(Random) - Static method in class icu.congee.id.generator.ksuid.KsuidFactory
Returns a new Segment's KSUID factory.
newMonotonicInstance() - Static method in class icu.congee.id.generator.ksuid.KsuidFactory
Returns a new Monotonic KSUID factory.
newMonotonicInstance(IntFunction<byte[]>) - Static method in class icu.congee.id.generator.ksuid.KsuidFactory
Returns a new Monotonic KSUID factory.
newMonotonicInstance(IntFunction<byte[]>, Supplier<Instant>) - Static method in class icu.congee.id.generator.ksuid.KsuidFactory
Returns a new Monotonic KSUID factory.
newMonotonicInstance(LongSupplier) - Static method in class icu.congee.id.generator.ksuid.KsuidFactory
Returns a new Monotonic KSUID factory.
newMonotonicInstance(LongSupplier, Supplier<Instant>) - Static method in class icu.congee.id.generator.ksuid.KsuidFactory
Returns a new Monotonic KSUID factory.
newMonotonicInstance(Random) - Static method in class icu.congee.id.generator.ksuid.KsuidFactory
Returns a new Monotonic KSUID factory.
newMonotonicInstance(Random, Supplier<Instant>) - Static method in class icu.congee.id.generator.ksuid.KsuidFactory
Returns a new Monotonic KSUID factory.
newSonyflake(Sonyflake.Settings) - Static method in class icu.congee.id.generator.sonyflake.Sonyflake
 
newSubsecondInstance() - Static method in class icu.congee.id.generator.ksuid.KsuidFactory
Returns a new Sub-second KSUID factory.
newSubsecondInstance(IntFunction<byte[]>) - Static method in class icu.congee.id.generator.ksuid.KsuidFactory
Returns a new Sub-second KSUID factory.
newSubsecondInstance(IntFunction<byte[]>, Supplier<Instant>) - Static method in class icu.congee.id.generator.ksuid.KsuidFactory
Returns a new Sub-second KSUID factory.
newSubsecondInstance(LongSupplier) - Static method in class icu.congee.id.generator.ksuid.KsuidFactory
Returns a new Sub-second KSUID factory.
newSubsecondInstance(LongSupplier, Supplier<Instant>) - Static method in class icu.congee.id.generator.ksuid.KsuidFactory
Returns a new Sub-second KSUID factory.
newSubsecondInstance(Random) - Static method in class icu.congee.id.generator.ksuid.KsuidFactory
Returns a new Sub-second KSUID factory.
newSubsecondInstance(Random, Supplier<Instant>) - Static method in class icu.congee.id.generator.ksuid.KsuidFactory
Returns a new Sub-second KSUID factory.
next() - Method in class icu.congee.id.generator.broid.BroIdGenerator
生成下一个BroId
next() - Method in interface icu.congee.id.generator.broid.BroIdPart
生成下一个值
next() - Method in class icu.congee.id.generator.broid.part.ClockSeqBroIdPart
生成下一个序列号的二进制表示。
next() - Method in class icu.congee.id.generator.broid.part.CounterBroIdPart
 
next() - Method in class icu.congee.id.generator.broid.part.RandomBroIdPart
 
next() - Method in class icu.congee.id.generator.broid.part.SpatiallyBroIdPart
 
next() - Method in class icu.congee.id.generator.broid.part.TimestampBroIdPart
 
next() - Method in class icu.congee.id.generator.broid.part.VariantBroIdPart
 
next() - Method in class icu.congee.id.generator.broid.part.VersionBroIdPart
 
next() - Static method in class icu.congee.id.generator.combguid.CombGuidGenerator
生成一个新的CombGuid
next() - Static method in class icu.congee.id.generator.cosid.CosIdGenerator
 
next() - Static method in class icu.congee.id.generator.custom.TimeBasedBusinessIdGenerator
此ID组成结构: 前12位数为时间戳格式化为:yyMMddHHmmss 后4位数为:0-9999 时间回拨采用上一次的时间 序号超过9999停止发号,等待进入下一秒
next() - Static method in class icu.congee.id.generator.custom.TimeBasedRandomIdGenerator
生成一个新的基于时间和随机数的ID
next() - Method in class icu.congee.id.generator.flakeid.FlakeId
生成无冲突的 ID
next() - Static method in class icu.congee.id.generator.js.JavaScriptSafetyIdGenerator
静态方法,用于生成一个 53 位的 JavaScript 安全 ID。
next() - Static method in class icu.congee.id.generator.lexical.LexicalUUIDGenerator
 
next() - Static method in class icu.congee.id.generator.mist.HighPerformanceMistGenerator
生成下一个唯一ID
next() - Static method in class icu.congee.id.generator.nano.NanoIdGenerator
 
next() - Static method in class icu.congee.id.generator.ordereduuid.OrderedUuidGenerator
生成一个新的OrderedUuid
next() - Method in class icu.congee.id.generator.snowflake.SnowflakeIdGenerator
生成下一个唯一的ID
next() - Method in class icu.congee.id.generator.ulid.ULIDGenerator
返回一个单调递增的ULID字符串,使用Crockford的base32表示法编码。
next() - Static method in class icu.congee.id.generator.uuid.DedicatedCounterUUIDv7Generator
 
next() - Static method in class icu.congee.id.generator.uuid.IncreasedClockPrecisionUUIDv7Generator
 
next() - Static method in class icu.congee.id.generator.uuid.MonotonicRandomUUIDv7Generator
 
next() - Static method in class icu.congee.id.generator.uuid.StandardUUIDv7Generator
生成一个新的UUIDv7
next() - Static method in class icu.congee.id.generator.uuid.UUIDv1Generator
生成UUIDv1主方法
next() - Static method in class icu.congee.id.generator.uuid.UUIDv2Generator
 
next() - Static method in class icu.congee.id.generator.uuid.UUIDv4Generator
生成一个新的UUIDv4
next() - Static method in class icu.congee.id.generator.uuid.UUIDv6Generator
生成 UUIDv6。
next() - Static method in class icu.congee.id.generator.uuid.UUIDv7Generator
生成一个新的UUIDv7
next() - Static method in class icu.congee.id.generator.uuid.UUIDv8Generator
生成一个自定义的 UUID v8。
next(boolean) - Static method in class icu.congee.id.generator.uuid.MonotonicRandomUUIDv7Generator
 
next(int) - Static method in class icu.congee.id.generator.js.JavaScriptSafetyIdGenerator
批量生成指定数量的 53 位 JavaScript 安全 ID。
next(long) - Static method in class icu.congee.id.generator.uuid.MonotonicRandomUUIDv7Generator
 
nextID() - Method in class icu.congee.id.generator.sonyflake.Sonyflake
 
NO_OPTIONS - Static variable in class icu.congee.id.generator.elasticflake.Base64
No options specified.
NoPrivateAddressException() - Constructor for exception class icu.congee.id.generator.sonyflake.Sonyflake.NoPrivateAddressException
 
notNull(String, T) - Static method in class icu.congee.id.generator.objectid.Assertions
Throw IllegalArgumentException if the value is null.

O

ObjectId - Class in icu.congee.id.generator.objectid
A globally unique identifier for objects.
ObjectId() - Constructor for class icu.congee.id.generator.objectid.ObjectId
Create a new object id.
ObjectId(byte[]) - Constructor for class icu.congee.id.generator.objectid.ObjectId
Constructs a new instance from the given byte array
ObjectId(int, int) - Constructor for class icu.congee.id.generator.objectid.ObjectId
Creates an ObjectId using the given time and counter.
ObjectId(String) - Constructor for class icu.congee.id.generator.objectid.ObjectId
Constructs a new instance from a 24-byte hexadecimal string representation.
ObjectId(ByteBuffer) - Constructor for class icu.congee.id.generator.objectid.ObjectId
Constructs a new instance from the given ByteBuffer
ObjectId(Date) - Constructor for class icu.congee.id.generator.objectid.ObjectId
Constructs a new instance using the given date.
ObjectId(Date, int) - Constructor for class icu.congee.id.generator.objectid.ObjectId
Constructs a new instances using the given date and counter.
ObjectID - Enum constant in enum class icu.congee.id.base.IdType
MongoDB风格的对象ID。
ObjectIdGenerator - Class in icu.congee.id.generator.objectid
 
ObjectIdGenerator() - Constructor for class icu.congee.id.generator.objectid.ObjectIdGenerator
 
Options() - Constructor for class icu.congee.id.generator.flakeid.FlakeId.Options
 
ORDERED - Static variable in class icu.congee.id.generator.elasticflake.Base64
Encode using the special "ordered" dialect of Base64 described here: http://www.faqs.org/qa/rfcc-1940.html.
orderedUuid - Enum constant in enum class icu.congee.id.base.IdType
时间排序的UUID。
OrderedUuidGenerator - Class in icu.congee.id.generator.ordereduuid
OrderedUuid生成器
OrderedUuidGenerator() - Constructor for class icu.congee.id.generator.ordereduuid.OrderedUuidGenerator
 
OutputStream(OutputStream) - Constructor for class icu.congee.id.generator.elasticflake.Base64.OutputStream
Constructs a Base64.OutputStream in ENCODE mode.
OutputStream(OutputStream, int) - Constructor for class icu.congee.id.generator.elasticflake.Base64.OutputStream
Constructs a Base64.OutputStream in either ENCODE or DECODE mode.
OverTimeLimitException() - Constructor for exception class icu.congee.id.generator.sonyflake.Sonyflake.OverTimeLimitException
 

P

PAYLOAD_BYTES - Static variable in class icu.congee.id.generator.ksuid.Ksuid
Number of bytes of the payload of a KSUID.
PREFERRED_ENCODING - Static variable in class icu.congee.id.generator.elasticflake.Base64
Preferred encoding.
pushID - Enum constant in enum class icu.congee.id.base.IdType
Firebase风格的推送ID。
PushIDGenerator - Class in icu.congee.id.generator.pushid
Firebase Push ID生成器的Java实现
PushIDGenerator() - Constructor for class icu.congee.id.generator.pushid.PushIDGenerator
 
putToByteBuffer(ByteBuffer) - Method in class icu.congee.id.generator.objectid.ObjectId
Convert to bytes and put those bytes to the provided ByteBuffer.
putToByteBuffer(ByteBuffer) - Method in class icu.congee.id.generator.xid.Xid
Convert to bytes and put those bytes to the provided ByteBuffer.

R

RandomBroIdPart - Class in icu.congee.id.generator.broid.part
BroId生成器的随机部分实现
RandomBroIdPart() - Constructor for class icu.congee.id.generator.broid.part.RandomBroIdPart
 
randomCUID1() - Static method in class icu.congee.id.generator.cuid.CUID
Generates a new random CUID (Version 1).
randomCUID2() - Static method in class icu.congee.id.generator.cuid.CUID
Generates a new random CUID (Version 2).
randomCUID2(int) - Static method in class icu.congee.id.generator.cuid.CUID
Generates a new random CUID (Version 2).
randomId() - Static method in class icu.congee.id.util.IdUtil
生成基于时间的随机ID
RAtomicLong - Enum constant in enum class icu.congee.id.base.IdType
 
read() - Method in class icu.congee.id.generator.elasticflake.Base64.InputStream
Reads enough of the input stream to convert to/from Base64 and returns the next byte.
read(byte[], int, int) - Method in class icu.congee.id.generator.elasticflake.Base64.InputStream
Calls Base64.InputStream.read() repeatedly until the end of stream is reached or len bytes are read.
reseed() - Method in class icu.congee.id.generator.ulid.ULIDGenerator
 
resumeEncoding() - Method in class icu.congee.id.generator.elasticflake.Base64.OutputStream
Resumes encoding of the stream.
RID - Enum constant in enum class icu.congee.id.base.IdType
 

S

SecureMistGenerator - Class in icu.congee.id.generator.mist
薄雾算法安全实现 使用synchronized和SecureRandom实现,确保线程安全和随机数安全性
SecureMistGenerator() - Constructor for class icu.congee.id.generator.mist.SecureMistGenerator
 
seqMask - Variable in class icu.congee.id.generator.flakeid.FlakeId.Options
 
sequenceNumber(long) - Static method in class icu.congee.id.generator.sonyflake.Sonyflake
 
setCurrentUid(Long) - Static method in class icu.congee.id.generator.wxseq.WxSeqGenerator
设置当前用户uid(模拟,实际应从上下文中获取)
Settings() - Constructor for class icu.congee.id.generator.sonyflake.Sonyflake.Settings
 
ShardingID - Enum constant in enum class icu.congee.id.base.IdType
分片友好的分布式ID。
ShardingIdGenerator - Class in icu.congee.id.generator.shardingid
分片ID生成器实现
ShardingIdGenerator() - Constructor for class icu.congee.id.generator.shardingid.ShardingIdGenerator
 
SID - Enum constant in enum class icu.congee.id.base.IdType
会话标识符。
SIDGenerator - Class in icu.congee.id.generator.sid
基于时间戳和随机数的字符串ID生成器
SIDGenerator() - Constructor for class icu.congee.id.generator.sid.SIDGenerator
 
Snowflake - Enum constant in enum class icu.congee.id.base.IdType
Twitter雪花算法实现。
SnowflakeIdGenerator - Class in icu.congee.id.generator.snowflake
Snowflake ID生成器实现
SnowflakeIdGenerator(long) - Constructor for class icu.congee.id.generator.snowflake.SnowflakeIdGenerator
创建一个新的雪花算法ID生成器实例
Sonyflake - Class in icu.congee.id.generator.sonyflake
Sonyflake ID生成器
Sonyflake - Enum constant in enum class icu.congee.id.base.IdType
Sony版本的雪花算法实现。
Sonyflake.InvalidMachineIDException - Exception Class in icu.congee.id.generator.sonyflake
无效机器ID异常
Sonyflake.MachineIDSupplier - Interface in icu.congee.id.generator.sonyflake
 
Sonyflake.MachineIDValidator - Interface in icu.congee.id.generator.sonyflake
 
Sonyflake.NoPrivateAddressException - Exception Class in icu.congee.id.generator.sonyflake
无法获取私有IP地址异常
Sonyflake.OverTimeLimitException - Exception Class in icu.congee.id.generator.sonyflake
时间超限异常
Sonyflake.Settings - Class in icu.congee.id.generator.sonyflake
 
Sonyflake.StartTimeAheadException - Exception Class in icu.congee.id.generator.sonyflake
 
SonyflakeIdGenerator - Class in icu.congee.id.generator.sonyflake
Sonyflake ID生成器的Java实现
SonyflakeIdGenerator() - Constructor for class icu.congee.id.generator.sonyflake.SonyflakeIdGenerator
 
SpatiallyBroIdPart - Class in icu.congee.id.generator.broid.part
 
SpatiallyBroIdPart() - Constructor for class icu.congee.id.generator.broid.part.SpatiallyBroIdPart
 
StandardMistGenerator - Class in icu.congee.id.generator.mist
薄雾算法标准实现 使用AtomicLong和ThreadLocalRandom实现
StandardMistGenerator() - Constructor for class icu.congee.id.generator.mist.StandardMistGenerator
 
StandardUUIDv7Generator - Class in icu.congee.id.generator.uuid
 
StandardUUIDv7Generator() - Constructor for class icu.congee.id.generator.uuid.StandardUUIDv7Generator
 
startTime - Variable in class icu.congee.id.generator.sonyflake.Sonyflake.Settings
 
StartTimeAheadException() - Constructor for exception class icu.congee.id.generator.sonyflake.Sonyflake.StartTimeAheadException
 
StrictlyClock - Class in icu.congee.id.generator.lexical
一个并发的、严格递增的时钟实现
StrictlyClock() - Constructor for class icu.congee.id.generator.lexical.StrictlyClock
 
string() - Static method in class icu.congee.id.generator.xid.Xid
 
suspendEncoding() - Method in class icu.congee.id.generator.elasticflake.Base64.OutputStream
Suspends encoding of the stream.

T

tick() - Method in class icu.congee.id.generator.lexical.MicrosecondEpochClock
 
tick() - Method in class icu.congee.id.generator.lexical.StrictlyClock
获取当前的时间戳
TIME_BYTES - Static variable in class icu.congee.id.generator.ksuid.Ksuid
Number of bytes of the time of a KSUID.
TimeBasedBusinessIdGenerator - Class in icu.congee.id.generator.custom
 
TimeBasedBusinessIdGenerator() - Constructor for class icu.congee.id.generator.custom.TimeBasedBusinessIdGenerator
 
TimeBasedRandomIdGenerator - Class in icu.congee.id.generator.custom
基于时间戳和随机数的ID生成器
TimeBasedRandomIdGenerator() - Constructor for class icu.congee.id.generator.custom.TimeBasedRandomIdGenerator
 
TimeBasedUUIDGenerator - Class in icu.congee.id.generator.elasticflake
These are essentially flake ids (http://boundary.com/blog/2012/01/12/flake-a-decentralized-k-ordered-unique-id-generator-in-erlang) but we use 6 (not 8) bytes for timestamp, and use 3 (not 2) bytes for sequence number.
TimeBasedUUIDGenerator() - Constructor for class icu.congee.id.generator.elasticflake.TimeBasedUUIDGenerator
 
timestamp() - Method in interface icu.congee.id.generator.lexical.Clock
获取当前时间戳
timestamp() - Method in class icu.congee.id.generator.lexical.StrictlyClock
 
TimestampBroIdPart - Class in icu.congee.id.generator.broid.part
 
TimestampBroIdPart() - Constructor for class icu.congee.id.generator.broid.part.TimestampBroIdPart
 
TimeUtils - Class in icu.congee.id.util
 
TimeUtils() - Constructor for class icu.congee.id.util.TimeUtils
 
toBase10() - Method in interface icu.congee.id.base.Id
 
toBase16() - Method in interface icu.congee.id.base.Id
 
toBase32() - Method in interface icu.congee.id.base.Id
 
toBase36() - Method in interface icu.congee.id.base.Id
 
toBase62() - Method in interface icu.congee.id.base.Id
 
toBase64() - Method in interface icu.congee.id.base.Id
 
toByteArray() - Method in class icu.congee.id.generator.objectid.ObjectId
Convert to a byte array.
toByteArray() - Method in class icu.congee.id.generator.xid.Xid
Convert to a byte array.
toBytes() - Method in interface icu.congee.id.base.Id
 
toBytes() - Method in class icu.congee.id.generator.ksuid.Ksuid
Convert the KSUID into a byte array.
toHexString() - Method in class icu.congee.id.generator.objectid.ObjectId
Converts this instance into a 24-byte hexadecimal string representation.
toHexString() - Method in class icu.congee.id.generator.xid.Xid
Converts this instance into a 20-byte hexadecimal string representation.
toLong() - Method in interface icu.congee.id.base.Id
 
toLong() - Method in class icu.congee.id.generator.broid.BroId
将BroId转换为长整型数值。
toLong(char[]) - Static method in class icu.congee.id.generator.ulid.ULIDGenerator
将base32字符数组解码为长整数。
toString() - Method in interface icu.congee.id.base.Id
 
toString() - Method in class icu.congee.id.generator.broid.BroId
 
toString() - Method in class icu.congee.id.generator.cuid.CUID
Returns the string representation.
toString() - Method in class icu.congee.id.generator.ksuid.Ksuid
Convert the KSUID into a canonical string.
toString() - Method in class icu.congee.id.generator.lexical.LexicalUUID
 
toString() - Method in class icu.congee.id.generator.objectid.ObjectId
 
toString() - Method in class icu.congee.id.generator.xid.Xid
 
toString(UUID) - Static method in class icu.congee.id.generator.uuid.FastUUIDToString
将UUID转换为字符串的高效实现
toUUID() - Method in class icu.congee.id.generator.broid.BroId
将BroId转换为标准的UUID。
toUUID(IdType) - Method in class icu.congee.id.generator.broid.BroId
将BroId转换为指定类型的UUID。
TtsId - Enum constant in enum class icu.congee.id.base.IdType
Brother ID,一种简单且易于理解的标识符格式。

U

ulid() - Static method in class icu.congee.id.util.IdUtil
生成ULID(Universally Unique Lexicographically Sortable Identifier)
ULID - Enum constant in enum class icu.congee.id.base.IdType
可排序的通用唯一标识符。
ULIDGenerator - Class in icu.congee.id.generator.ulid
ULID (Universally Unique Lexicographically Sortable Identifier) 生成器 ULID是一种基于时间戳的、可排序的唯一标识符,由26个字符组成,包含: - 10个字符的时间戳(精确到毫秒) - 16个字符的随机数 特点: - 按时间戳排序 - 使用Crockford的Base32编码 - 128位兼容UUID - 无特殊字符
ULIDGenerator() - Constructor for class icu.congee.id.generator.ulid.ULIDGenerator
 
ULIDGenerator(SecureRandom) - Constructor for class icu.congee.id.generator.ulid.ULIDGenerator
 
unixTime(String) - Static method in class icu.congee.id.generator.ulid.ULIDGenerator
从ULID字符串中提取时间组件。
unixTimeBasedUUID() - Static method in class icu.congee.id.util.IdUtil
生成基于Unix时间戳的UUID v7
unixTimeBasedUUID1() - Static method in class icu.congee.id.util.IdUtil
生成使用专用计数器的UUID v7
unixTimeBasedUUID2() - Static method in class icu.congee.id.util.IdUtil
生成具有增强时钟精度的UUID v7
URL_SAFE - Static variable in class icu.congee.id.generator.elasticflake.Base64
Encode using Base64-like encoding that is URL- and Filename-safe as described in Section 4 of RFC3548: http://www.faqs.org/rfcs/rfc3548.html.
UUIDv1 - Enum constant in enum class icu.congee.id.base.IdType
UUID版本1。
UUIDv1Generator - Class in icu.congee.id.generator.uuid
UUIDv1生成器 (基于时间的DCE安全实现) 该类用于生成符合RFC 4122规范的UUIDv1。
UUIDv1Generator() - Constructor for class icu.congee.id.generator.uuid.UUIDv1Generator
 
UUIDv2 - Enum constant in enum class icu.congee.id.base.IdType
UUID版本2。
UUIDv2Generator - Class in icu.congee.id.generator.uuid
UUIDv2生成器 (DCE安全规范实现)
UUIDv2Generator() - Constructor for class icu.congee.id.generator.uuid.UUIDv2Generator
 
UUIDv3 - Enum constant in enum class icu.congee.id.base.IdType
UUID版本3(已弃用)。
UUIDv3Generator - Class in icu.congee.id.generator.uuid
UUIDv3生成器
UUIDv3Generator() - Constructor for class icu.congee.id.generator.uuid.UUIDv3Generator
 
UUIDv4 - Enum constant in enum class icu.congee.id.base.IdType
UUID版本4。
UUIDv4Generator - Class in icu.congee.id.generator.uuid
UUIDv4生成器
UUIDv4Generator() - Constructor for class icu.congee.id.generator.uuid.UUIDv4Generator
 
UUIDv5 - Enum constant in enum class icu.congee.id.base.IdType
UUID版本5。
UUIDv5Generator - Class in icu.congee.id.generator.uuid
UUIDv5生成器
UUIDv5Generator() - Constructor for class icu.congee.id.generator.uuid.UUIDv5Generator
 
UUIDv6 - Enum constant in enum class icu.congee.id.base.IdType
UUID版本6。
UUIDv6Generator - Class in icu.congee.id.generator.uuid
UUIDv6生成器
UUIDv6Generator() - Constructor for class icu.congee.id.generator.uuid.UUIDv6Generator
 
UUIDv7 - Enum constant in enum class icu.congee.id.base.IdType
UUID版本7。
UUIDv7Generator - Class in icu.congee.id.generator.uuid
UUIDv7生成器
UUIDv7Generator() - Constructor for class icu.congee.id.generator.uuid.UUIDv7Generator
 
UUIDv8 - Enum constant in enum class icu.congee.id.base.IdType
UUID版本8。
UUIDv8BroId - Class in icu.congee.id.generator.broid.impl
 
UUIDv8BroId(List<Boolean>) - Constructor for class icu.congee.id.generator.broid.impl.UUIDv8BroId
 
UUIDv8BroIdGenerator - Class in icu.congee.id.generator.broid.impl
 
UUIDv8BroIdGenerator() - Constructor for class icu.congee.id.generator.broid.impl.UUIDv8BroIdGenerator
 
UUIDv8BroIdGenerator(BroIdLayout, Function<List<Boolean>, UUIDv8BroId>) - Constructor for class icu.congee.id.generator.broid.impl.UUIDv8BroIdGenerator
构造函数
UUIDv8Generator - Class in icu.congee.id.generator.uuid
一个高性能的自定义 UUID v8 生成器。
UUIDv8Generator() - Constructor for class icu.congee.id.generator.uuid.UUIDv8Generator
 

V

validate(short) - Method in interface icu.congee.id.generator.sonyflake.Sonyflake.MachineIDValidator
 
valueOf(String) - Static method in enum class icu.congee.id.base.IdType
Returns the enum constant of this class with the specified name.
values() - Static method in enum class icu.congee.id.base.IdType
Returns an array containing the constants of this enum class, in the order they are declared.
VariantBroIdPart - Class in icu.congee.id.generator.broid.part
 
VariantBroIdPart() - Constructor for class icu.congee.id.generator.broid.part.VariantBroIdPart
 
VersionBroIdPart - Class in icu.congee.id.generator.broid.part
 
VersionBroIdPart() - Constructor for class icu.congee.id.generator.broid.part.VersionBroIdPart
 

W

worker - Variable in class icu.congee.id.generator.flakeid.FlakeId.Options
 
write(byte[], int, int) - Method in class icu.congee.id.generator.elasticflake.Base64.OutputStream
Calls Base64.OutputStream.write(int) repeatedly until len bytes are written.
write(int) - Method in class icu.congee.id.generator.elasticflake.Base64.OutputStream
Writes the byte to the output stream after converting to/from Base64 notation.
WxSeq - Enum constant in enum class icu.congee.id.base.IdType
微信序列号生成器。
WxSeqGenerator - Class in icu.congee.id.generator.wxseq
模拟微信序列号生成器(seqsvr)的实现
WxSeqGenerator() - Constructor for class icu.congee.id.generator.wxseq.WxSeqGenerator
 

X

Xid - Class in icu.congee.id.generator.xid
A globally unique identifier for objects.
Xid() - Constructor for class icu.congee.id.generator.xid.Xid
Create a new object id.
Xid(byte[]) - Constructor for class icu.congee.id.generator.xid.Xid
Constructs a new instance from the given byte array
Xid(int, int) - Constructor for class icu.congee.id.generator.xid.Xid
Creates an Xid using the given time, machine identifier, process identifier, and counter.
Xid(String) - Constructor for class icu.congee.id.generator.xid.Xid
Constructs a new instance from a 24-byte hexadecimal string representation.
Xid(ByteBuffer) - Constructor for class icu.congee.id.generator.xid.Xid
Constructs a new instance from the given ByteBuffer
Xid(Date) - Constructor for class icu.congee.id.generator.xid.Xid
Constructs a new instance using the given date.
Xid(Date, int) - Constructor for class icu.congee.id.generator.xid.Xid
Constructs a new instances using the given date and counter.
XID - Enum constant in enum class icu.congee.id.base.IdType
全局唯一标识符。
XidGenerator - Class in icu.congee.id.generator.xid
 
XidGenerator() - Constructor for class icu.congee.id.generator.xid.XidGenerator
 
A B C D E F G H I J K L M N O P R S T U V W X 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form