T1
- the type of the 1st elementT2
- the type of the 2nd elementT3
- the type of the 3rd elementpublic class Tuple3<T1,T2,T3> extends Tuple2<T1,T2>
Tuple
of 3 elements.Constructor and Description |
---|
Tuple3(T1 element1,
T2 element2,
T3 element3)
Constructs a new
Tuple with the supplied elements. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
T3 |
getElement3()
Returns the 3rd element of this tuple.
|
int |
hashCode() |
void |
setElement3(T3 element3)
Sets the 3rd element of this tuple.
|
int |
size()
Returns the number of elements of this tuple.
|
getElement2, setElement2
getElement1, setElement1
public T3 getElement3()
public void setElement3(T3 element3)
public int size()
Tuple