T1 - the type of the 1st elementT2 - the type of the 2nd elementT3 - the type of the 3rd elementT4 - the type of the 4th elementpublic class Tuple4<T1,T2,T3,T4> extends Tuple3<T1,T2,T3>
Tuple of 4 elements.| Constructor and Description |
|---|
Tuple4(T1 element1,
T2 element2,
T3 element3,
T4 element4)
Constructs a new
Tuple with the supplied elements. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
T4 |
getElement4()
Returns the 4th element of this tuple.
|
int |
hashCode() |
void |
setElement4(T4 element4)
Sets the 4th element of this tuple.
|
int |
size()
Returns the number of elements of this tuple.
|
getElement3, setElement3getElement2, setElement2getElement1, setElement1public T4 getElement4()
public void setElement4(T4 element4)
public int size()
Tuple