Package com.ibm.wala.util.intset
Class IntPair
- java.lang.Object
-
- com.ibm.wala.util.intset.IntPair
-
public class IntPair extends java.lang.ObjectA pair of ints. Note that an IntPair has value semantics.
-
-
Constructor Summary
Constructors Constructor Description IntPair(int x, int y)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)intgetX()intgetY()inthashCode()static IntPairmake(int x, int y)java.lang.StringtoString()
-
-
-
Method Detail
-
getX
public int getX()
- Returns:
- Returns the x.
-
getY
public int getY()
- Returns:
- Returns the y.
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
make
public static IntPair make(int x, int y)
-
-