|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wamblee.general.Pair<T,U>
T - Type of the first object.U - Type of the second object.public class Pair<T,U>
Represents a pair of objects. This is inspired on the C++ Standard Template Library pair template.
| Constructor Summary | |
|---|---|
Pair(Pair<T,U> aPair)
Copies a pair. |
|
Pair(T aT,
U aU)
Constructs the pair. |
|
| Method Summary | |
|---|---|
T |
getFirst()
Gets the first object of the pair. |
U |
getSecond()
Gets the second object of the pair. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Pair(T aT,
U aU)
aT - First object.aU - Second object.public Pair(Pair<T,U> aPair)
aPair - Pair to copy.| Method Detail |
|---|
public T getFirst()
public U getSecond()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||