|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A cursor interface for iterating over layer edges.
The typical use in conjunction with a LayeredGraph instance is as follows:
LayeredGraph lg; // a layered graph
for (LayerEdgeCursor lec = lg.layerEdges(); lec.ok(); lec.next()) {
LayerEdge le = lec.layerEdge();
// ... do something with the current layer edge ...
}
| 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. |
LayerEdge |
layerEdge()
Returns the layer edge at the current location of the cursor. |
| Methods inherited from interface y.base.YCursor |
current, next, ok, prev, size, toFirst, toLast |
| Method Detail |
public LayerEdge layerEdge()
public void cyclicNext()
public void cyclicPrev()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||