|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.neoworks.util.Pair
Holds a pair of Objects. Useful for passing pairs of values, surprisingly.
Field Summary | |
java.lang.Object |
first
First field in the Pair |
java.lang.Object |
second
Second field in the Pair |
Constructor Summary | |
Pair()
Creates new Pair object. |
|
Pair(java.lang.Object firstval,
java.lang.Object secondval)
Creates a new Pair object. |
Method Summary | |
java.lang.String |
toString()
Get a String representation of this Pair |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.Object first
public java.lang.Object second
Constructor Detail |
public Pair()
public Pair(java.lang.Object firstval, java.lang.Object secondval)
firstval
- The value of the first member of the Pairsecondval
- The value of the second member of the PairMethod Detail |
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |