public class ShortRandomizer extends AbstractRandomizer<Short>
Short
.random
Constructor and Description |
---|
ShortRandomizer()
Create a new
ShortRandomizer . |
ShortRandomizer(long seed)
Create a new
ShortRandomizer . |
Modifier and Type | Method and Description |
---|---|
static ShortRandomizer |
aNewShortRandomizer()
Create a new
ShortRandomizer . |
static ShortRandomizer |
aNewShortRandomizer(long seed)
Create a new
ShortRandomizer . |
Short |
getRandomValue()
Generate a random value for the given type.
|
public ShortRandomizer()
ShortRandomizer
.public ShortRandomizer(long seed)
ShortRandomizer
.seed
- initial seedpublic static ShortRandomizer aNewShortRandomizer()
ShortRandomizer
.ShortRandomizer
.public static ShortRandomizer aNewShortRandomizer(long seed)
ShortRandomizer
.seed
- initial seedShortRandomizer
.public Short getRandomValue()
Randomizer
Copyright © 2016. All Rights Reserved.