Package org.hawaiiframework.util.tuple
Class Tuple5<T1,T2,T3,T4,T5>
- java.lang.Object
-
- org.hawaiiframework.util.tuple.Tuple1<T1>
-
- org.hawaiiframework.util.tuple.Tuple2<T1,T2>
-
- org.hawaiiframework.util.tuple.Tuple3<T1,T2,T3>
-
- org.hawaiiframework.util.tuple.Tuple4<T1,T2,T3,T4>
-
- org.hawaiiframework.util.tuple.Tuple5<T1,T2,T3,T4,T5>
-
- Type Parameters:
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 element
- All Implemented Interfaces:
Serializable
,Tuple
- Direct Known Subclasses:
Tuple6
public class Tuple5<T1,T2,T3,T4,T5> extends Tuple4<T1,T2,T3,T4>
ATuple
of 5 elements.- Since:
- 2.0.0
- Author:
- Marcel Overdijk
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class org.hawaiiframework.util.tuple.Tuple4
getElement4, setElement4
-
Methods inherited from class org.hawaiiframework.util.tuple.Tuple3
getElement3, setElement3
-
Methods inherited from class org.hawaiiframework.util.tuple.Tuple2
getElement2, setElement2
-
Methods inherited from class org.hawaiiframework.util.tuple.Tuple1
getElement1, setElement1
-
-
-
-
Method Detail
-
getElement5
public T5 getElement5()
Returns the 5th element of this tuple.- Returns:
- the 5th element of this tuple
-
setElement5
public void setElement5(T5 element5)
Sets the 5th element of this tuple.
-
size
public int size()
Description copied from interface:Tuple
Returns the number of elements of this tuple.
-
-