public abstract class AbstractUntypedIteratorDecorator<I,O> extends Object implements Iterator<O>
All methods are forwarded to the decorated iterator.
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractUntypedIteratorDecorator(Iterator<I> iterator)
Create a new AbstractUntypedIteratorDecorator.
|
| Modifier and Type | Method and Description |
|---|---|
protected Iterator<I> |
getIterator()
Gets the iterator being decorated.
|
boolean |
hasNext() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, nextprotected AbstractUntypedIteratorDecorator(Iterator<I> iterator)
iterator - the iterator to decorateNullPointerException - if the iterator is nullCopyright © 2001–2018 The Apache Software Foundation. All rights reserved.