|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jrummikub.util.Pair<T1,T2>
T1
- Type of first componentT2
- Type of second componentpublic class Pair<T1,T2>
A pair of objects
Constructor Summary | |
---|---|
Pair(T1 first,
T2 second)
Create a new pair from two values |
Method Summary | |
---|---|
T1 |
getFirst()
Extract the first component of a pair |
T2 |
getSecond()
Extract the second component of a pair |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Pair(T1 first, T2 second)
first
- the first pair componentsecond
- the second pair componentMethod Detail |
---|
public T1 getFirst()
public T2 getSecond()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |