org.eigenbase.util.mapping
Class IntPair

java.lang.Object
  extended by org.eigenbase.util.mapping.IntPair

public class IntPair
extends Object

An immutable pair of integers.

Since:
Mar 24, 2006
Version:
$Id: //open/dev/farrago/src/org/eigenbase/util/mapping/IntPair.java#6 $
Author:
jhyde
See Also:
Mapping.iterator()

Field Summary
 int source
           
 int target
           
 
Constructor Summary
IntPair(int source, int target)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

source

public final int source

target

public final int target
Constructor Detail

IntPair

public IntPair(int source,
               int target)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object