|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cometway.util.Pair
com.cometway.util.IntegerPair
public class IntegerPair
This is a Pair object that specializes in Integers (simple type int).
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 |
|---|
public IntegerPair()
public IntegerPair(int firstInt,
int secondInt)
| Method Detail |
|---|
public int firstInt()
public int secondInt()
public void setFirst(int i)
public void setSecond(int i)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||