|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GraphIterator
An extension of the Iterator interface specific to iteration of graph elements.
Method Summary | |
---|---|
int |
getIterationTypes()
Get the types of elements possibly contained in this Iterator. |
Subgraph |
getSubgraphRoot()
Get the root of this Iterator. |
Element |
nextGraphElement()
A convenience method that should just return a cast of a call to nextElement() |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next, remove |
Method Detail |
---|
Subgraph getSubgraphRoot()
int getIterationTypes()
GrappaConstants.NODE
,
GrappaConstants.EDGE
,
GrappaConstants.SUBGRAPH
Element nextGraphElement() throws java.util.NoSuchElementException
java.util.NoSuchElementException
- whenever the Iterator has no more
elements.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |