Package org.onlab.graph
Class AbstractEdge<V extends Vertex>
- java.lang.Object
-
- org.onlab.graph.AbstractEdge<V>
-
-
Constructor Summary
Constructors Constructor Description AbstractEdge(V src, V dst)
Creates a new edge between the specified source and destination vertexes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V
dst()
Returns the edge destination vertex.boolean
equals(java.lang.Object obj)
int
hashCode()
V
src()
Returns the edge source vertex.java.lang.String
toString()
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-