|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Edge
An interface for edges in a Graph.
Method Summary | |
---|---|
java.lang.Object |
getObject()
Returns the object encapsulated by the Edge |
Vertex |
getOppositeVertex(Vertex v)
Returns the Vertex opposite to the specified Vertex in the edge. |
Vertex |
getVertexA()
Returns the endpoint A of the edge. |
Vertex |
getVertexB()
Returns the endpoint B of the edge. |
void |
setObject(java.lang.Object obj)
Sets an Object that is encapsulated by the Edge |
java.lang.String |
toString()
Returns the String representation of the edge. |
Method Detail |
---|
Vertex getVertexA()
Vertex getVertexB()
Vertex getOppositeVertex(Vertex v)
void setObject(java.lang.Object obj)
java.lang.Object getObject()
java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |