Class HourRandomizer
java.lang.Object
io.github.krandom.randomizers.time.HourRandomizer
- All Implemented Interfaces:
Randomizer<Integer>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGenerate a random value for the given type.
-
Field Details
-
MIN_HOUR
public static final int MIN_HOUR- See Also:
-
MAX_HOUR
public static final int MAX_HOUR- See Also:
-
-
Constructor Details
-
HourRandomizer
public HourRandomizer() -
HourRandomizer
public HourRandomizer(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
-