T
- The type of elements contained in this sequencepublic class IterableSequence<T> extends Object implements Iterable<T>
Constructor and Description |
---|
IterableSequence(Iterator<T> iterator)
Creates a new IterableSequence.
|
Modifier and Type | Method and Description |
---|---|
Iterator<T> |
iterator()
Returns an iterator over a set of elements of type T.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator