public abstract class AbstractUntypedIteratorDecorator<I,O>
extends java.lang.Object
implements java.util.Iterator<O>
All methods are forwarded to the decorated iterator.
Modifier | Constructor and Description |
---|---|
protected |
AbstractUntypedIteratorDecorator(java.util.Iterator<I> iterator)
Create a new AbstractUntypedIteratorDecorator.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Iterator<I> |
getIterator()
Gets the iterator being decorated.
|
boolean |
hasNext() |
void |
remove() |
protected AbstractUntypedIteratorDecorator(java.util.Iterator<I> iterator)
iterator
- the iterator to decorateprotected java.util.Iterator<I> getIterator()
public boolean hasNext()
hasNext
in interface java.util.Iterator<O>
public void remove()
remove
in interface java.util.Iterator<O>
Copyright © 2001-2013. All Rights Reserved.