public interface RandomSampler<T,U> extends Pseudorandom, scala.Cloneable, scala.Serializable
Modifier and Type | Method and Description |
---|---|
RandomSampler<T,U> |
clone() |
scala.collection.Iterator<U> |
sample(scala.collection.Iterator<T> items)
take a random sample
|
setSeed
RandomSampler<T,U> clone()