daikon
Class VarInfo.Pair
Object
VarInfo.Pair
- Enclosing class:
- VarInfo
public static class VarInfo.Pair
- extends Object
Class used to contain a pair of VarInfos and their sample count.
Currently used for equality set merging as a way to store pairs
of equal variables. The variable with the smaller index is
always stored first.
Pairs are equal if both of their VarInfos are identical. Note
that the content of the VarInfos are not compared, only their
pointer values.
v1
public VarInfo v1
v2
public VarInfo v2
samples
public int samples
VarInfo.Pair
public VarInfo.Pair(VarInfo v1,
VarInfo v2,
int samples)
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object