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, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected AbstractIteratorDecorator(Iterator<E> iterator)
iterator - the iterator to decorate, must not be nullNullPointerException - if the iterator is nullpublic E next()
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.