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 ofBaseRandom
that are backed by instances ofSplittableRandom
orRandom
, 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 ofBaseRandom
that wrap one or moreSplittableRandom
instances.EntropyBlockingRandomWrapper ARandomWrapper
with the additional property that it won't return any output that would take its entropy below a minimum amount, and will instead either wait to be reseeded by aRandomSeeder
or, if none is installed, reseed itself on the calling thread with aSeedGenerator
.RandomWrapper ReseedingThreadLocalRandomWrapper AThreadLocalRandomWrapper
that reseeds all its instances using aRandomSeeder
.SingleThreadSplittableRandomAdapter Simple, non-thread-safe implementation ofBaseRandom
that wraps aSplittableRandom
.SplittableRandomAdapter Thread-safe PRNG that wraps aThreadLocal
<SplittableRandom
>.ThreadLocalRandomWrapper Wraps aThreadLocal
<BaseRandom
> in order to provide concurrency that most implementations ofBaseRandom
can't implement naturally.