T1 - the type of the 1st elementpublic class Tuple1<T1> extends Object implements Tuple, Serializable
Tuple of 1 element.| Constructor and Description |
|---|
Tuple1(T1 element1)
Constructs a new
Tuple with the supplied elements. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
T1 |
getElement1()
Returns the 1st element of this tuple.
|
int |
hashCode() |
void |
setElement1(T1 element1)
Sets the 1st element of this tuple.
|
int |
size()
Returns the number of elements of this tuple.
|
public Tuple1(T1 element1)
Tuple with the supplied elements.public T1 getElement1()
public void setElement1(T1 element1)
public int size()
Tuple