public abstract class AbstractIteratorDecorator<E> extends AbstractUntypedIteratorDecorator<E,E>
All methods are forwarded to the decorated iterator.
Modifier | Constructor and Description |
---|---|
protected |
AbstractIteratorDecorator(Iterator<E> iterator)
Constructor that decorates the specified iterator.
|
Modifier and Type | Method and Description |
---|---|
E |
next() |
getIterator, hasNext, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected AbstractIteratorDecorator(Iterator<E> iterator)
iterator
- the iterator to decorate, must not be nullNullPointerException
- if the iterator is nullCopyright © 2001–2019 The Apache Software Foundation. All rights reserved.