|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Graph.Vertex<V,E>
Represents a vertex in a graph.
Method Summary | |
---|---|
V |
getValue()
Returns the value associated with this vertex. |
boolean |
isVisited()
Returns true if this vertex is visited, otherwise false. |
void |
setValue(V value)
Sets the value associated with this vertex. |
void |
unvisit()
Marks the vertex as not visited. |
void |
visit()
Marks the vertex as visited. |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
V getValue()
void setValue(V value)
value
- The new value of the data associated with this vertex.void visit()
boolean isVisited()
void unvisit()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |