|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javautils.collections.AbstractIterator | +--javautils.collections.IteratorDecorator
A basic forwarding Decorator [Gamma1995] for iterators.
Field Summary | |
protected java.util.Iterator |
original
|
Constructor Summary | |
IteratorDecorator(java.util.Iterator original)
|
Method Summary | |
boolean |
hasNext()
|
java.lang.Object |
next()
|
Methods inherited from class javautils.collections.AbstractIterator |
remove |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected final java.util.Iterator original
Constructor Detail |
public IteratorDecorator(java.util.Iterator original)
Method Detail |
public boolean hasNext()
hasNext
in interface java.util.Iterator
hasNext
in class AbstractIterator
public java.lang.Object next()
next
in interface java.util.Iterator
next
in class AbstractIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |