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