|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VertexIterator
An iterator over vertices in a Graph object.
Method Summary | |
---|---|
boolean |
hasNext()
Returns true if the iteration has more elements. |
int |
next()
Returns the next element in the iteration. |
Method Detail |
---|
boolean hasNext()
int next() throws java.util.NoSuchElementException
java.util.NoSuchElementException
- if the iteration has no more elements
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |