public class LongRangeRandomizer extends AbstractRangeRandomizer<Long>
Long in the given range.max, minrandom| Constructor and Description |
|---|
LongRangeRandomizer(Long min,
Long max)
Create a new
LongRangeRandomizer. |
LongRangeRandomizer(Long min,
Long max,
long seed)
Create a new
LongRangeRandomizer. |
| Modifier and Type | Method and Description |
|---|---|
static LongRangeRandomizer |
aNewLongRangeRandomizer(Long min,
Long max)
Create a new
LongRangeRandomizer. |
static LongRangeRandomizer |
aNewLongRangeRandomizer(Long min,
Long max,
long seed)
Create a new
LongRangeRandomizer. |
protected void |
checkValues() |
protected Long |
getDefaultMaxValue() |
protected Long |
getDefaultMinValue() |
Long |
getRandomValue()
Generate a random value for the given type.
|
nextLongpublic LongRangeRandomizer(Long min, Long max)
LongRangeRandomizer.min - min valuemax - max valuepublic LongRangeRandomizer(Long min, Long max, long seed)
LongRangeRandomizer.min - min valuemax - max valueseed - initial seedpublic static LongRangeRandomizer aNewLongRangeRandomizer(Long min, Long max)
LongRangeRandomizer.min - min valuemax - max valueLongRangeRandomizer.public static LongRangeRandomizer aNewLongRangeRandomizer(Long min, Long max, long seed)
LongRangeRandomizer.min - min valuemax - max valueseed - initial seedLongRangeRandomizer.protected void checkValues()
checkValues in class AbstractRangeRandomizer<Long>public Long getRandomValue()
Randomizerprotected Long getDefaultMaxValue()
getDefaultMaxValue in class AbstractRangeRandomizer<Long>protected Long getDefaultMinValue()
getDefaultMinValue in class AbstractRangeRandomizer<Long>Copyright © 2016. All Rights Reserved.