T - type of values iterating overpublic class LazyIteratorChain<T> extends Object implements Iterator<T>
| Constructor and Description |
|---|
LazyIteratorChain(Iterator<Iterator<T>> iterators) |
LazyIteratorChain(Iterator<T>... iterators) |
| Modifier and Type | Method and Description |
|---|---|
static <T> Iterator<T> |
chain(Iterator<Iterator<T>> iterators)
Returns the concatenation of all iterators in
iterators. |
static <T> Iterator<T> |
chain(Iterator<T>... iterators)
Returns the concatenation of all iterators in
iterators. |
boolean |
hasNext() |
T |
next() |
void |
remove() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic static <T> Iterator<T> chain(Iterator<Iterator<T>> iterators)
iterators.T - iterators - public static <T> Iterator<T> chain(Iterator<T>... iterators)
iterators.T - iterators - Copyright © 2010 - 2020 Adobe. All Rights Reserved