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