Interface SeekableRandom
-
- All Superinterfaces:
RepeatableRandom
- All Known Implementing Classes:
AesCounterRandom
,CipherCounterRandom
,Pcg128Random
,Pcg64Random
public interface SeekableRandom extends RepeatableRandom
ARepeatableRandom
that can skip backward or forward within its sequence of output.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
advance(long delta)
Advances the generator forwarddelta
steps, but does so in logarithmic time.-
Methods inherited from interface io.github.pr0methean.betterrandom.RepeatableRandom
getSeed
-
-