|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.util.Couple<T,U>
T - The first object's type.U - The second object's type.
@Deprecated public class Couple<T,U>
Relationship between two typed objects.
| Constructor Summary | |
|---|---|
Couple(T first,
U second)
Deprecated. Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object other)
Deprecated. |
T |
getFirst()
Deprecated. Returns the first object. |
U |
getSecond()
Deprecated. Returns the second object. |
int |
hashCode()
Deprecated. |
void |
setFirst(T first)
Deprecated. Sets the first object. |
void |
setSecond(U second)
Deprecated. Sets the second object. |
String |
toString()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Couple(T first,
U second)
first - The first object.second - The second object.| Method Detail |
|---|
public boolean equals(Object other)
equals in class Objectpublic T getFirst()
public U getSecond()
public int hashCode()
hashCode in class Objectpublic void setFirst(T first)
first - The first object.public void setSecond(U second)
second - The second object.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||