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