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, wait
forEachRemaining, next
protected AbstractUntypedIteratorDecorator(Iterator<I> iterator)
iterator
- the iterator to decorateNullPointerException
- if the iterator is nullCopyright © 2001–2019 The Apache Software Foundation. All rights reserved.