T
- The node value type.U
- The edge value type.public static class Graph.Edge.BaseEdge<T,U> extends java.lang.Object implements Graph.Edge<T,U>
Graph.Edge.BaseEdge<T,U>
Constructor and Description |
---|
BaseEdge(T origin,
T destination,
U value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
T |
getDestination() |
T |
getOrigin() |
U |
getValue() |
int |
hashCode() |
java.lang.String |
toString() |
public final T destination
public final T origin
public final U value
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public T getDestination()
getDestination
in interface Graph.Edge<T,U>
public T getOrigin()
getOrigin
in interface Graph.Edge<T,U>
public U getValue()
getValue
in interface Graph.Edge<T,U>
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object