com.cometway.util
Class IntegerPair

java.lang.Object
  extended by com.cometway.util.Pair
      extended by com.cometway.util.IntegerPair

public class IntegerPair
extends Pair

This is a Pair object that specializes in Integers (simple type int).

See Also:
Pair

Constructor Summary
IntegerPair()
           
IntegerPair(int firstInt, int secondInt)
          Sets the Pair.first() and Pair.second() as an Integer object from firstInt and secondInt respectively
 
Method Summary
 int firstInt()
          Return the first int
 int secondInt()
          Return the second int
 void setFirst(int i)
          sets the first int
 void setSecond(int i)
          sets the second int
 
Methods inherited from class com.cometway.util.Pair
first, makeString, second, setFirst, setSecond, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntegerPair

public IntegerPair()

IntegerPair

public IntegerPair(int firstInt,
                   int secondInt)
Sets the Pair.first() and Pair.second() as an Integer object from firstInt and secondInt respectively

Method Detail

firstInt

public int firstInt()
Return the first int


secondInt

public int secondInt()
Return the second int


setFirst

public void setFirst(int i)
sets the first int


setSecond

public void setSecond(int i)
sets the second int