Package com.aoindustries.util.graph
Class Edge<V>
- java.lang.Object
-
- com.aoindustries.util.graph.Edge<V>
-
- Direct Known Subclasses:
LabeledEdge,WeightedEdge
public class Edge<V> extends Object
An edge (or arc) between two vertices.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Two edges are equal if they have equal from and to.VgetFrom()The vertex the edge is from.VgetTo()The vertex the edge is to.inthashCode()The hashCode is generated from the from and to.StringtoString()
-