|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T1 - The type of the first element of this pair.T2 - The type of the second element of this pair.public interface Pair<T1,T2>
A pair of objects. It is often useful to represent pairs of objects. This interface provides a type-safe and reusable way of doing so.
| Method Summary | |
|---|---|
T1 |
getFirst()
Returns the first object in the pair. |
T2 |
getSecond()
Returns the second object in the pair. |
| Method Detail |
|---|
T1 getFirst()
T2 getSecond()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||