| Modifier and Type | Method and Description |
|---|---|
static ListSampler |
ListSamplers.createFull()
Create a
ListSampler where each sample consists of the full list |
static ListSampler |
ListSamplers.createWithAbsoluteSize(int absoluteSampleSize,
Random random)
Create a
ListSampler where each sample consists of a random
sample of the input list. |
static ListSampler |
ListSamplers.createWithRelativeSize(double relativeSampleSize,
Random random)
Create a
ListSampler where each sample consists of a random
sample of the input list. |
| Modifier and Type | Method and Description |
|---|---|
static <T> List<List<T>> |
ListSamplers.createList(ListSampler listSampler,
List<? extends T> input,
int numSamples)
Create a list consisting of the samples that are provided by the
given
ListSampler when it is applied to the given
input. |
Copyright © 2018. All rights reserved.