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