public class IterableIteratorWrapper<T>
extends java.lang.Object
implements java.lang.Iterable<T>
Modifier and Type | Field and Description |
---|---|
protected java.util.Iterator<T> |
iter
The iterator.
|
Constructor and Description |
---|
IterableIteratorWrapper(java.util.Iterator<T> iter)
Create a new wrapper.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<T> |
iterator()
Get the iterator.
|