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<T extends BaseRandom>
AThreadLocalRandomWrapper
that reseeds all its instances using aRandomSeeder
.Methods in io.github.pr0methean.betterrandom.prng.adapter that return ThreadLocalRandomWrapper Modifier and Type Method Description static ThreadLocalRandomWrapper<BaseRandom>
ThreadLocalRandomWrapper. wrapLegacy(SerializableLongFunction<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.
-