T - The first object's type.U - The second object's type.@Deprecated public class Couple<T,U> extends Object
| Constructor and Description |
|---|
Couple(T first,
U second)
Deprecated.
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public T getFirst()
public U getSecond()
public void setFirst(T first)
first - The first object.public void setSecond(U second)
second - The second object.Copyright © 2005–2015. All rights reserved.