Package org.savantbuild.util
Class Graph.Edge.BaseEdge<T,U>
java.lang.Object
org.savantbuild.util.Graph.Edge.BaseEdge<T,U>
- Type Parameters:
T- The node value type.U- The edge value type.
- All Implemented Interfaces:
Graph.Edge<T,U>
- Enclosing interface:
- Graph.Edge<T,
U>
Basic implementation of the Edge interface. Provides public final fields and public accessors.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.savantbuild.util.Graph.Edge
Graph.Edge.BaseEdge<T,U> -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
destination
-
origin
-
value
-
-
Constructor Details
-
BaseEdge
-
-
Method Details
-
equals
-
getDestination
- Specified by:
getDestinationin interfaceGraph.Edge<T,U> - Returns:
- The destination node value.
-
getOrigin
- Specified by:
getOriginin interfaceGraph.Edge<T,U> - Returns:
- The origin node value.
-
getValue
- Specified by:
getValuein interfaceGraph.Edge<T,U> - Returns:
- The edge value.
-
hashCode
public int hashCode() -
toString
-