Class DefaultRandomStrategy
- java.lang.Object
-
- com.github.f4b6a3.uuid.strategy.random.DefaultRandomStrategy
-
- All Implemented Interfaces:
RandomStrategy
public final class DefaultRandomStrategy extends Object implements RandomStrategy
Strategy that provides random values for random-based UUIDs. It uses a thread local instance ofSecureRandom.
-
-
Constructor Summary
Constructors Constructor Description DefaultRandomStrategy()
-
-
-
Method Detail
-
nextBytes
public void nextBytes(byte[] bytes)
- Specified by:
nextBytesin interfaceRandomStrategy
-
-