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 Vdst()Returns the edge destination vertex.booleanequals(java.lang.Object obj)inthashCode()Vsrc()Returns the edge source vertex.java.lang.StringtoString()
-
-
-
Method Detail
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-