public class Generator
extends java.lang.Object
Constructor and Description |
---|
Generator() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getDummyString() |
static java.lang.String |
getDummyString(int length) |
static int |
randomInt(int maxValue)
randoms a int value between 0 (included) to maxValue (excluded) with
(approximately) uniform distribution from that range
|
static long |
randomLong(long maxValue)
randoms a long value between 0 (included) to maxValue (excluded) with
(approximately) uniform distribution from that range
|
public static java.lang.String getDummyString()
public static java.lang.String getDummyString(int length)
length
- public static int randomInt(int maxValue)
maxValue
- public static long randomLong(long maxValue)
maxValue
-