Package io.smallrye.mutiny.tuples
Class Tuple5<T1,T2,T3,T4,T5>
- java.lang.Object
-
- io.smallrye.mutiny.tuples.Tuple2<T1,T2>
-
- io.smallrye.mutiny.tuples.Tuple3<T1,T2,T3>
-
- io.smallrye.mutiny.tuples.Tuple4<T1,T2,T3,T4>
-
- io.smallrye.mutiny.tuples.Tuple5<T1,T2,T3,T4,T5>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Object>
asList()
boolean
equals(java.lang.Object o)
T5
getItem5()
int
hashCode()
<T> Tuple5<T,T2,T3,T4,T5>
mapItem1(java.util.function.Function<T1,T> mapper)
<T> Tuple5<T1,T,T3,T4,T5>
mapItem2(java.util.function.Function<T2,T> mapper)
<T> Tuple5<T1,T2,T,T4,T5>
mapItem3(java.util.function.Function<T3,T> mapper)
<T> Tuple5<T1,T2,T3,T,T5>
mapItem4(java.util.function.Function<T4,T> mapper)
<T> Tuple5<T1,T2,T3,T4,T>
mapItem5(java.util.function.Function<T5,T> mapper)
java.lang.Object
nth(int index)
Get the item stored at the given index.static <T1,T2,T3,T4,T5>
Tuple5<T1,T2,T3,T4,T5>of(T1 a, T2 b, T3 c, T4 d, T5 e)
int
size()
java.lang.String
toString()
-
Methods inherited from class io.smallrye.mutiny.tuples.Tuple2
assertIndexInBounds, getItem1, getItem2, of
-
-
-
-
Method Detail
-
of
public static <T1,T2,T3,T4,T5> Tuple5<T1,T2,T3,T4,T5> of(T1 a, T2 b, T3 c, T4 d, T5 e)
-
getItem5
public T5 getItem5()
-
mapItem1
public <T> Tuple5<T,T2,T3,T4,T5> mapItem1(java.util.function.Function<T1,T> mapper)
Description copied from class:Tuple2
-
mapItem2
public <T> Tuple5<T1,T,T3,T4,T5> mapItem2(java.util.function.Function<T2,T> mapper)
Description copied from class:Tuple2
-
nth
public java.lang.Object nth(int index)
Description copied from interface:Tuple
Get the item stored at the given index.
-
asList
public java.util.List<java.lang.Object> asList()
Description copied from interface:Tuple
-
size
public int size()
-
-