T1 - the type of the 1st elementpublic class Tuple1<T1> extends java.lang.Object implements Tuple, java.io.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(java.lang.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()
Tuplepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object