- java.lang.Object
-
- com.github.f4b6a3.uuid.factory.UuidFactory
-
- com.github.f4b6a3.uuid.factory.AbstRandomBasedFactory
-
- All Implemented Interfaces:
NoArgsFactory
- Direct Known Subclasses:
AbstCombFactory,RandomBasedFactory
public abstract class AbstRandomBasedFactory extends UuidFactory implements NoArgsFactory
Abstract factory for creating random-based unique identifiers (UUIDv4).- See Also:
RandomFunction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classAbstRandomBasedFactory.Builder<T,B extends AbstRandomBasedFactory.Builder<T,B>>Abstract builder for creating a random-based factory.protected static classAbstRandomBasedFactory.ByteRandomprotected static interfaceAbstRandomBasedFactory.IRandomprotected static classAbstRandomBasedFactory.LongRandom
-
Field Summary
Fields Modifier and Type Field Description protected AbstRandomBasedFactory.IRandomrandomprotected static intUUID_BYTES-
Fields inherited from class com.github.f4b6a3.uuid.factory.UuidFactory
version, versionMask
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstRandomBasedFactory(UuidVersion version, AbstRandomBasedFactory.Builder<?,?> builder)
-
Method Summary
-
Methods inherited from class com.github.f4b6a3.uuid.factory.UuidFactory
getVersion, toUuid
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.f4b6a3.uuid.factory.NoArgsFactory
create
-
-
-
-
Field Detail
-
random
protected final AbstRandomBasedFactory.IRandom random
-
UUID_BYTES
protected static final int UUID_BYTES
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AbstRandomBasedFactory
protected AbstRandomBasedFactory(UuidVersion version, AbstRandomBasedFactory.Builder<?,?> builder)
-
-