Uses of Interface
io.github.pr0methean.betterrandom.util.SerializableSupplier
-
Packages that use SerializableSupplier 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 SerializableSupplier in io.github.pr0methean.betterrandom.prng.adapter
Constructors in io.github.pr0methean.betterrandom.prng.adapter with parameters of type SerializableSupplier Constructor Description ReseedingThreadLocalRandomWrapper(SeedGenerator seedGenerator, SerializableSupplier<? extends T> initializer)
Wraps the givenSerializableSupplier
.ReseedingThreadLocalRandomWrapper(SerializableSupplier<? extends T> initializer, RandomSeeder randomSeederThread)
Wraps the givenSerializableSupplier
.ThreadLocalRandomWrapper(SerializableSupplier<? extends T> initializer)
Wraps the givenSupplier
.
-