Constructor and Description |
---|
IteratorIterator(Iterator<T>... iterators)
Constructor for IteratorIterator.
|
IteratorIterator(List<Iterator<T>> iterators)
Constructor for IteratorIterator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
hasNext
|
Iterator<T> |
iterator()
iterator
|
T |
next()
next
|
void |
remove()
remove
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
forEach, spliterator
@SafeVarargs public IteratorIterator(Iterator<T>... iterators)
Constructor for IteratorIterator.
iterators
- a Iterator
object.Copyright © 2016. All rights reserved.