Class BasicRandom
java.lang.Object
java.util.Random
de.aikiit.game.kaiser.BasicRandom
- All Implemented Interfaces:
Serializable, RandomGenerator
A finite BASIC RND trace: unexpected draws fail the test immediately.
-
Nested Class Summary
Nested classes/interfaces inherited from interface RandomGenerator
RandomGenerator.ArbitrarilyJumpableGenerator, RandomGenerator.JumpableGenerator, RandomGenerator.LeapableGenerator, RandomGenerator.SplittableGenerator, RandomGenerator.StreamableGenerator -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Random
doubles, doubles, doubles, doubles, ints, ints, ints, ints, longs, longs, longs, longs, next, nextBoolean, nextBytes, nextFloat, nextGaussian, nextInt, nextInt, nextLong, setSeedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RandomGenerator
isDeprecated, nextDouble, nextDouble, nextExponential, nextFloat, nextFloat, nextGaussian, nextInt, nextLong, nextLong
-
Constructor Details
-
BasicRandom
BasicRandom(Double... values)
-
-
Method Details
-
nextDouble
public double nextDouble()- Specified by:
nextDoublein interfaceRandomGenerator- Overrides:
nextDoublein classRandom
-
remaining
int remaining()
-