public class ProbabilisticDataGenerator extends Object
Modifier and Type | Method and Description |
---|---|
static <E> E |
extractRandomElement(Random random,
List<E> list) |
static <E> List<E> |
extractRandomSubList(Random random,
List<E> list,
double... thresholds) |
static <E> List<E> |
extractRandomSubListOfSize(Random random,
List<E> list,
int size) |
static int |
generateRandomIntFromThresholds(Random random,
double... thresholds) |
public static <E> List<E> extractRandomSubList(Random random, List<E> list, double... thresholds)
public static <E> List<E> extractRandomSubListOfSize(Random random, List<E> list, int size)
public static int generateRandomIntFromThresholds(Random random, double... thresholds)
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.