T
- the type of objects in the defined range.public abstract class AbstractRangeRandomizer<T> extends AbstractRandomizer<T>
Modifier and Type | Field and Description |
---|---|
protected T |
max |
protected T |
min |
random
Modifier | Constructor and Description |
---|---|
protected |
AbstractRangeRandomizer(T min,
T max) |
protected |
AbstractRangeRandomizer(T min,
T max,
long seed) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
checkValues() |
protected abstract T |
getDefaultMaxValue() |
protected abstract T |
getDefaultMinValue() |
protected long |
nextLong(long min,
long max) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRandomValue
Copyright © 2016. All Rights Reserved.