public class HourRandomizer extends Object implements Randomizer<Integer>
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_HOUR |
static int |
MIN_HOUR |
| Constructor and Description |
|---|
HourRandomizer() |
HourRandomizer(long seed) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getRandomValue()
Generate a random value for the given type.
|
public static final int MIN_HOUR
public static final int MAX_HOUR
public HourRandomizer()
public HourRandomizer(long seed)
public Integer getRandomValue()
RandomizergetRandomValue in interface Randomizer<Integer>Copyright © 2016. All Rights Reserved.