|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A cursor interface for interating over graphs.
The typical use in conjunction with a LayeredGraph instance is as follows:
LayeredGraph lg; // a layered graph for (GraphCursor gc = lg.graphs(); gc.ok(); gc.next()) { Graph g = gc.graph(); // ... do something with the current graph ... }
Method Summary | |
void |
cyclicNext()
Moves the cursor to the cyclic next element of the underlying sequence. |
void |
cyclicPrev()
Moves the cursor to the cyclic previous element of the underlying sequence. |
Graph |
graph()
Returns the graph at the current location of the cursor. |
Methods inherited from interface y.base.YCursor |
current, next, ok, prev, size, toFirst, toLast |
Method Detail |
public Graph graph()
public void cyclicNext()
public void cyclicPrev()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |