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() |
protected AbstractUntypedIteratorDecorator(Iterator<I> iterator)
iterator
- the iterator to decorateCopyright © 2001–2013 The Apache Software Foundation. All rights reserved.