Uses of Class
io.github.pr0methean.betterrandom.prng.adapter.ThreadLocalRandomWrapper
-
Packages that use ThreadLocalRandomWrapper 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. -
-
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 classReseedingThreadLocalRandomWrapper<T extends BaseRandom>AThreadLocalRandomWrapperthat 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 andRandomWrapperto decorate any implementation ofRandomthat can be constructed from alongseed into a fully-concurrent one.
-