public interface StatefulRandomness extends RandomnessSource
Modifier and Type | Method and Description |
---|---|
long |
getState()
Get the current internal state of the StatefulRandomness as a long.
|
void |
setState(long state)
Set the current internal state of this StatefulRandomness with a long.
|
copy, next, nextLong
long getState()
void setState(long state)
state
- a 64-bit long. You should avoid passing 0, even though some implementations can handle that.Copyright © 2012–2016. All rights reserved.