Uses of Package
io.github.pr0methean.betterrandom.prng.adapter
-
Packages that use io.github.pr0methean.betterrandom.prng.adapter Package Description 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. -
Classes in io.github.pr0methean.betterrandom.prng.adapter used by io.github.pr0methean.betterrandom.prng.adapter Class Description BaseSplittableRandomAdapter Abstract class for implementations ofBaseRandomthat wrap one or moreSplittableRandominstances.DirectSplittableRandomAdapter Abstract subclass ofBaseSplittableRandomAdapterwhereDirectSplittableRandomAdapter.setSeed(long)andBaseRandom.setSeed(byte[])replace theSplittableRandomthat's used in the context in which they are called.RandomWrapper ReseedingThreadLocalRandomWrapper AThreadLocalRandomWrapperthat reseeds all its instances using aSimpleRandomSeeder.SplittableRandomAdapter Thread-safe PRNG that wraps aThreadLocal<SplittableRandom>.ThreadLocalRandomWrapper Wraps aThreadLocal<BaseRandom> in order to provide concurrency that most implementations ofBaseRandomcan't implement naturally.