Uses of Interface
io.github.pr0methean.betterrandom.util.SerializableLongFunction
-
Packages that use SerializableLongFunction 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 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 andRandomWrapperto decorate any implementation ofRandomthat can be constructed from alongseed into a fully-concurrent one.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.
-