edu.neu.ccs.demeter.aplib
Class TraversalGraph.IndexPair
java.lang.Object
|
+--edu.neu.ccs.demeter.aplib.TraversalGraph.IndexPair
- Enclosing class:
- TraversalGraph
- public class TraversalGraph.IndexPair
- extends Object
A pair of indices, representing the copy indices on the source
and target of an edge in the traversal graph.
source
protected int source
target
protected int target
getSource
public int getSource()
- The copy index of the source of the edge.
getTarget
public int getTarget()
- The copy index of the target of the edge.
equals
public boolean equals(Object ip)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object