Class CollectionSampler<T>

java.lang.Object
org.apache.commons.rng.sampling.CollectionSampler<T>
Type Parameters:
T - Type of items in the collection.
All Implemented Interfaces:
ObjectSampler<T>, SharedStateObjectSampler<T>, SharedStateSampler<SharedStateObjectSampler<T>>

public class CollectionSampler<T> extends Object implements SharedStateObjectSampler<T>
Sampling from a Collection.

Sampling uses UniformRandomProvider.nextInt(int).

Since:
1.0