public class RepeatingIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
| Constructor and Description |
|---|
RepeatingIterator(java.util.Iterator<T> parent) |
RepeatingIterator(java.util.Iterator<T> parent,
java.lang.Integer nRepeats) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
T |
next() |
void |
remove() |