Class MinuteRandomizer
- java.lang.Object
-
- org.jeasy.random.randomizers.time.MinuteRandomizer
-
- All Implemented Interfaces:
Randomizer<java.lang.Integer>
public class MinuteRandomizer extends java.lang.Object implements Randomizer<java.lang.Integer>
- Author:
- Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
-
-
Field Summary
Fields Modifier and Type Field Description static intMAX_MINUTEstatic intMIN_MINUTE
-
Constructor Summary
Constructors Constructor Description MinuteRandomizer()MinuteRandomizer(long seed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetRandomValue()Generate a random value for the given type.
-
-
-
Field Detail
-
MIN_MINUTE
public static final int MIN_MINUTE
- See Also:
- Constant Field Values
-
MAX_MINUTE
public static final int MAX_MINUTE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRandomValue
public java.lang.Integer getRandomValue()
Description copied from interface:RandomizerGenerate a random value for the given type.- Specified by:
getRandomValuein interfaceRandomizer<java.lang.Integer>- Returns:
- a random value for the given type
-
-