Uses of Class
io.github.pr0methean.betterrandom.prng.adapter.ThreadLocalRandomWrapper
-
Packages that use ThreadLocalRandomWrapper 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. -
-
Uses of ThreadLocalRandomWrapper in io.github.pr0methean.betterrandom.prng.adapter
Subclasses of ThreadLocalRandomWrapper in io.github.pr0methean.betterrandom.prng.adapter Modifier and Type Class Description class
ReseedingThreadLocalRandomWrapper
AThreadLocalRandomWrapper
that reseeds all its instances using aSimpleRandomSeeder
.Methods in io.github.pr0methean.betterrandom.prng.adapter that return ThreadLocalRandomWrapper Modifier and Type Method Description static ThreadLocalRandomWrapper
ThreadLocalRandomWrapper. wrapLegacy(java8.util.function.LongFunction<Random> legacyCreator, SeedGenerator seedGenerator)
Uses this class andRandomWrapper
to decorate any implementation ofRandom
that can be constructed from along
seed into a fully-concurrent one.
-