Class NanoSecondRandomizer
-
- All Implemented Interfaces:
-
io.github.krandom.api.Randomizer
public class NanoSecondRandomizer implements Randomizer<T>
A Randomizer that generates a random nano-second value between MIN_NANO_SECOND and MAX_NANO_SECOND.
Mahmoud Ben Hassine ([email protected])
-
-
Field Summary
Fields Modifier and Type Field Description public final static int
MIN_NANO_SECOND
public final static int
MAX_NANO_SECOND
-
Constructor Summary
Constructors Constructor Description NanoSecondRandomizer()
NanoSecondRandomizer(long seed)
-
Method Summary
Modifier and Type Method Description Integer
getRandomValue()
Generate a random value for the given type. -
-
Method Detail
-
getRandomValue
Integer getRandomValue()
Generate a random value for the given type.
- Returns:
a random value for the given type
-
-
-
-