|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dishevelled.graph.impl.AbstractIteratorDecorator<E>
E - iterator element typeabstract class AbstractIteratorDecorator<E>
Abstract iterator that decorates an instance of Iterator.
| Constructor Summary | |
|---|---|
protected |
AbstractIteratorDecorator(Iterator<E> iterator)
Create a new abstract iterator that decorates the specified iterator. |
| Method Summary | |
|---|---|
protected Iterator<E> |
getIterator()
\ * Return a reference to the iterator this decorator decorates. |
boolean |
hasNext()
|
E |
next()
|
void |
remove()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractIteratorDecorator(Iterator<E> iterator)
iterator - iterator to decorate, must not be null| Method Detail |
|---|
protected final Iterator<E> getIterator()
public boolean hasNext()
hasNext in interface Iterator<E>public E next()
next in interface Iterator<E>public void remove()
remove in interface Iterator<E>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||