sampling library

Classes

ComparableSampler<T extends Comparable>
CompositeSampler<T>
IntSampler
LatestSampler<T>
Keeps the latest N items in the sample.
ReservoirSampler<T>
Reservoir sampler following the algorithm in https://en.wikipedia.org/wiki/Reservoir_sampling
Sampler<T>
Select a subset (a statistical sample) of items.
SamplerBase<T>