Class NanoSecondRandomizer
java.lang.Object
org.jeasy.random.randomizers.time.NanoSecondRandomizer
- All Implemented Interfaces:
Randomizer<Integer>
- Author:
- Mahmoud Ben Hassine ([email protected])
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGenerate a random value for the given type.
-
Field Details
-
MIN_NANO_SECOND
public static final int MIN_NANO_SECOND- See Also:
-
MAX_NANO_SECOND
public static final int MAX_NANO_SECOND- See Also:
-
-
Constructor Details
-
NanoSecondRandomizer
public NanoSecondRandomizer() -
NanoSecondRandomizer
public NanoSecondRandomizer(long seed)
-
-
Method Details
-
getRandomValue
Description copied from interface:Randomizer
Generate a random value for the given type.- Specified by:
getRandomValue
in interfaceRandomizer<Integer>
- Returns:
- a random value for the given type
-