public class RandomInputValueGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
static double |
PROBABILITY_CHECK |
| Constructor and Description |
|---|
RandomInputValueGenerator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getCheck() |
<T> T |
getRandomItem(List<T> options) |
String |
getRandomString(int length) |
public static final double PROBABILITY_CHECK
public String getRandomString(int length)
length - the length of the random stringpublic boolean getCheck()
public <T> T getRandomItem(List<T> options)
options - the possible options (e.g. option item in select). The list must be non-emptyCopyright © 2007–2019. All rights reserved.