Uses of Class
io.github.pr0methean.betterrandom.util.EntryPoint
-
Packages that use EntryPoint Package Description io.github.pr0methean.betterrandom This root package contains interfaces forRandomsubclasses with specific extra features.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.io.github.pr0methean.betterrandom.util Miscellaneous utilities. -
-
Uses of EntryPoint in io.github.pr0methean.betterrandom
Methods in io.github.pr0methean.betterrandom with annotations of type EntryPoint Modifier and Type Method Description byte[]RepeatableRandom. getSeed()Returns the seed. -
Uses of EntryPoint in io.github.pr0methean.betterrandom.prng
Methods in io.github.pr0methean.betterrandom.prng with annotations of type EntryPoint Modifier and Type Method Description doubleBaseRandom. nextDouble(double bound)Returns a pseudorandomdoublevalue between 0.0 (inclusive) and the specified bound (exclusive).Constructors in io.github.pr0methean.betterrandom.prng with annotations of type EntryPoint Constructor Description Cmwc4096Random(SeedGenerator seedGenerator)Seed the RNG using the provided seed generation strategy.Pcg128Random(byte[] seed)Creates a new PRNG with the provided seed.Pcg128Random(SeedGenerator seedGenerator)Creates a new PRNG with a seed from the providedSeedGenerator.Pcg64Random(byte[] seed)Creates a new PRNG with the provided seed.Pcg64Random(long seed)Creates a new PRNG with the provided seed.Pcg64Random(SeedGenerator seedGenerator)Creates a new PRNG with a seed from the providedSeedGenerator. -
Uses of EntryPoint in io.github.pr0methean.betterrandom.prng.adapter
Methods in io.github.pr0methean.betterrandom.prng.adapter with annotations of type EntryPoint Modifier and Type Method Description TRandomWrapper. getWrapped()Returns the PRNG this RandomWrapper is currently wrapping.voidRandomWrapper. setWrapped(T wrapped)Replaces the wrapped PRNG with the given one on subsequent calls.Constructors in io.github.pr0methean.betterrandom.prng.adapter with annotations of type EntryPoint Constructor Description RandomWrapper(T wrapped)Creates an instance wrapping the givenRandom. -
Uses of EntryPoint in io.github.pr0methean.betterrandom.seed
Constructors in io.github.pr0methean.betterrandom.seed with annotations of type EntryPoint Constructor Description SeedGeneratorPreferenceList(boolean isAlwaysWorthTrying, SeedGenerator... contents)Creates an instance.SeedGeneratorPreferenceList(Collection<? extends SeedGenerator> delegates, boolean isAlwaysWorthTrying)Creates an instance. -
Uses of EntryPoint in io.github.pr0methean.betterrandom.util
Methods in io.github.pr0methean.betterrandom.util with annotations of type EntryPoint Modifier and Type Method Description StringDumpable. dump()Returns aStringrepresenting the state of this object for debugging purposes, including mutable state thatObject.toString()usually doesn't return.
-