Uses of Interface
io.github.pr0methean.betterrandom.util.SerializableLongFunction
-
Packages that use SerializableLongFunction 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 SerializableLongFunction in io.github.pr0methean.betterrandom.prng.adapter
Methods in io.github.pr0methean.betterrandom.prng.adapter with parameters of type SerializableLongFunction Modifier and Type Method Description static ReseedingThreadLocalRandomWrapper<BaseRandom>
ReseedingThreadLocalRandomWrapper. 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.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.
-