com.ibm.wala.util.intset
Class IntPair

java.lang.Object
  extended by com.ibm.wala.util.intset.IntPair

public class IntPair
extends java.lang.Object

A pair of ints. Note that an IntPair has value semantics.


Constructor Summary
IntPair(int x, int y)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int getX()
           
 int getY()
           
 int hashCode()
           
static IntPair make(int x, int y)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntPair

public IntPair(int x,
               int y)
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:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

make

public static IntPair make(int x,
                           int y)