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
Methods in io.github.pr0methean.betterrandom.prng.adapter that throw SeedException Modifier and Type Method Description static EntropyBlockingRandomWrapper<Random>EntropyBlockingRandomWrapper. wrapJavaUtilRandom(long minimumEntropy, SeedGenerator seedGenerator)Creates an instance wrapping a basicRandom.static RandomWrapper<Random>RandomWrapper. wrapJavaUtilRandom(SeedGenerator seedGenerator)Creates an instance wrapping a basicRandom.Constructors in io.github.pr0methean.betterrandom.prng.adapter that throw SeedException Constructor Description ReseedingThreadLocalRandomWrapper(int seedSize, SeedGenerator seedGenerator, SerializableFunction<byte[],? extends T> creator)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, RandomSeeder 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)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)voidSeedGenerator. generateSeed(byte[] output)Generates a seed value for a random number generator in an existing array.default byte[]SeedGenerator. generateSeed(int length)Generates and returns a seed value for a random number generator as a new array.voidSeedGeneratorPreferenceList. generateSeed(byte[] output)voidWebSeedClient. generateSeed(byte[] seed)
-