Interface RepeatableRandom
-
- All Known Subinterfaces:
SeekableRandom
- All Known Implementing Classes:
AesCounterRandom,BaseRandom,BaseSplittableRandomAdapter,CipherCounterRandom,Cmwc4096Random,DirectSplittableRandomAdapter,EntropyBlockingRandomWrapper,EntropyBlockingSplittableRandomAdapter,MersenneTwisterRandom,Pcg128Random,Pcg64Random,RandomWrapper,ReseedingThreadLocalRandomWrapper,SingleThreadSplittableRandomAdapter,SplittableRandomAdapter,ThreadLocalRandomWrapper,XorShiftRandom
public interface RepeatableRandomDeterministic random number generators are repeatable, which can prove useful for testing and validation. This interface defines an operation to return the seed data from a repeatable RNG. This seed value can then be reused to create a random source with identical output.- Author:
- Daniel Dyer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]getSeed()Returns the seed.
-