public abstract class AbstractRandomizer<T> extends java.lang.Object implements Randomizer<T>
Randomizer
implementations.Modifier and Type | Field and Description |
---|---|
protected java.util.Random |
random |
Modifier | Constructor and Description |
---|---|
protected |
AbstractRandomizer() |
protected |
AbstractRandomizer(long seed) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String[] |
getPredefinedValuesOf(java.lang.String key) |
protected double |
nextDouble(double min,
double max)
Return a random double in the given range.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getRandomValue
protected AbstractRandomizer()
protected AbstractRandomizer(long seed)
protected java.lang.String[] getPredefinedValuesOf(java.lang.String key)
public java.lang.String toString()
toString
in class java.lang.Object
protected double nextDouble(double min, double max)
min
- valuemax
- valueCopyright © 2019. All Rights Reserved.