Uses of Class
io.github.pr0methean.betterrandom.seed.SeedException
-
Packages that use SeedException Package Description io.github.pr0methean.betterrandom.prng Subclasses ofRandomusing different random-number generation algorithms.io.github.pr0methean.betterrandom.prng.adapter Implementations ofBaseRandomthat are backed by instances ofSplittableRandomorRandom, many of them wrapped inThreadLocal<?>to allow concurrent use of a shared instance by multiple threads.io.github.pr0methean.betterrandom.seed Tools to obtain and apply truly-random seeds forRandomimplementations, especially those that also implementByteArrayReseedableRandom. -
-
Uses of SeedException in io.github.pr0methean.betterrandom.prng
Constructors in io.github.pr0methean.betterrandom.prng that throw SeedException Constructor Description AesCounterRandom()Creates a new RNG and seeds it using 256 bits from theDefaultSeedGenerator.AesCounterRandom(int seedSizeBytes)Seed the RNG using theDefaultSeedGeneratorto create a seed of the specified size.AesCounterRandom(SeedGenerator seedGenerator)Seed the RNG using the provided seed generation strategy to create a 256-bit seed.BaseRandom(int seedSizeBytes)Seed the RNG using theDefaultSeedGeneratorto create a seed of the specified size.BaseRandom(SeedGenerator randomSeeder, int seedLength)Creates a new RNG and seeds it using the provided seed generation strategy.Cmwc4096Random()Creates a new RNG and seeds it using the default seeding strategy.Cmwc4096Random(SeedGenerator seedGenerator)Seed the RNG using the provided seed generation strategy.MersenneTwisterRandom()Creates a new RNG and seeds it using the default seeding strategy.MersenneTwisterRandom(SeedGenerator seedGenerator)Seed the RNG using the provided seed generation strategy.Pcg128Random(SeedGenerator seedGenerator)Creates a new PRNG with a seed from the providedSeedGenerator.Pcg64Random(SeedGenerator seedGenerator)Creates a new PRNG with a seed from the providedSeedGenerator.XorShiftRandom()Creates a new RNG and seeds it using theDefaultSeedGenerator.XorShiftRandom(SeedGenerator seedGenerator)Seed the RNG using the provided seed generation strategy. -
Uses of SeedException in io.github.pr0methean.betterrandom.prng.adapter
Constructors in io.github.pr0methean.betterrandom.prng.adapter that throw SeedException Constructor Description EntropyBlockingRandomWrapper(long minimumEntropy, SeedGenerator seedGenerator)RandomWrapper()Wraps aRandomthat is seeded using the default seeding strategy.RandomWrapper(SeedGenerator seedGenerator)Wraps aRandomthat is seeded using the provided seed generation strategy.ReseedingThreadLocalRandomWrapper(int seedSize, SeedGenerator seedGenerator, java8.util.function.Function<byte[],? extends BaseRandom> creator)Wraps a seed generator and a function that takes a seed byte array as input.ReseedingThreadLocalRandomWrapper(int seedSize, SimpleRandomSeeder randomSeederThread, java8.util.function.Function<byte[],? extends BaseRandom> creator, SeedGenerator seedGenerator)Wraps a seed generator and a function that takes a seed byte array as input.SingleThreadSplittableRandomAdapter()Use theDefaultSeedGeneratorto create the seed for theSplittableRandom.SingleThreadSplittableRandomAdapter(SeedGenerator seedGenerator)Use the provided seed generation strategy to create the seed for theSplittableRandom.SplittableRandomAdapter(SeedGenerator seedGenerator, SimpleRandomSeeder randomSeeder)Creates an instance. -
Uses of SeedException in io.github.pr0methean.betterrandom.seed
Methods in io.github.pr0methean.betterrandom.seed that throw SeedException Modifier and Type Method Description voidBufferedSeedGenerator. generateSeed(byte[] output)byte[]BufferedSeedGenerator. generateSeed(int length)voidDefaultSeedGenerator. generateSeed(byte[] output)Generates a seed value for a random number generator in an existing array.byte[]DefaultSeedGenerator. generateSeed(int length)voidDevRandomSeedGenerator. generateSeed(byte[] randomSeed)byte[]DevRandomSeedGenerator. generateSeed(int length)Generates and returns a seed value for a random number generator as a new array.voidRandomDotOrgSeedGenerator. generateSeed(byte[] seed)byte[]RandomDotOrgSeedGenerator. generateSeed(int length)voidSeedGenerator. generateSeed(byte[] output)Generates a seed value for a random number generator in an existing array.byte[]SeedGenerator. generateSeed(int length)Generates and returns a seed value for a random number generator as a new array.voidSeedGeneratorPreferenceList. generateSeed(byte[] output)byte[]SeedGeneratorPreferenceList. generateSeed(int length)
-