|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.synccharts.codegen.sc.Enumerator
public class Enumerator
An enumerator class for enumerating adjacent vertices in a graph.
Constructor Summary | |
---|---|
Enumerator(Graph graph,
int vertex)
Constructs a new enumerator that enumerates the values of a given array of integers. |
Method Summary | |
---|---|
boolean |
itemsLeft()
Checks whether there is one more item to enumerate. |
int |
next()
Returns the next item in the enumeration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Enumerator(Graph graph, int vertex)
graph
- the graphvertex
- the vertexMethod Detail |
---|
public boolean itemsLeft()
public int next()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |