public class ByteRandomizer extends Object implements Randomizer<Byte>
Byte.| Constructor and Description |
|---|
ByteRandomizer()
Create a new
ByteRandomizer. |
ByteRandomizer(long seed)
Create a new
ByteRandomizer. |
| Modifier and Type | Method and Description |
|---|---|
static ByteRandomizer |
aNewByteRandomizer()
Create a new
ByteRandomizer. |
static ByteRandomizer |
aNewByteRandomizer(long seed)
Create a new
ByteRandomizer. |
Byte |
getRandomValue()
Generate a random value for the given type.
|
public ByteRandomizer()
ByteRandomizer.public ByteRandomizer(long seed)
ByteRandomizer.seed - initial seedpublic static ByteRandomizer aNewByteRandomizer()
ByteRandomizer.ByteRandomizer.public static ByteRandomizer aNewByteRandomizer(long seed)
ByteRandomizer.seed - initial seedByteRandomizer.public Byte getRandomValue()
RandomizergetRandomValue in interface Randomizer<Byte>Copyright © 2016. All Rights Reserved.