|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.combean.graph.iterators.IteratorAsEdgeIterator
public class IteratorAsEdgeIterator
Wrap a java.util.Iterator which points to Edge-objects as EdgeIterator.
Constructor Summary | |
---|---|
IteratorAsEdgeIterator(Iterator iter)
Constructor |
Method Summary | |
---|---|
boolean |
hasNext()
Check if further edges exist for this iteration. |
Edge |
next()
Switch to the next edge in the iteration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IteratorAsEdgeIterator(Iterator iter)
iter
- the iterator to be wrappedMethod Detail |
---|
public boolean hasNext()
EdgeIterator
hasNext
in interface EdgeIterator
public Edge next()
EdgeIterator
next
in interface EdgeIterator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |