|
LimeWire Collection Component API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.limewire.collection.Tuple<T1,T2>
T1 - the type of the first objectT2 - the type of the second objectpublic class Tuple<T1,T2>
Typed tuple that holds two objects of possibly different types.
| Constructor Summary | |
|---|---|
Tuple(T1 obj1,
T2 obj2)
Constructs a tuple for two objects. |
|
| Method Summary | |
|---|---|
T1 |
getFirst()
Returns the first object. |
T2 |
getSecond()
Returns the second object. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Tuple(T1 obj1,
T2 obj2)
| Method Detail |
|---|
public T1 getFirst()
public T2 getSecond()
public String toString()
toString in class Object
|
LimeWire Collection Component API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||