public class RandomIterable<T>
extends java.lang.Object
implements java.lang.Iterable<T>
| Constructor and Description |
|---|
RandomIterable(java.lang.Iterable<T> iterable,
double prob,
java.util.Random rng) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<T> |
iterator() |