Package io.smallrye.mutiny.tuples
Class Tuple4<T1,T2,T3,T4>
- 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>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Object>asList()booleanequals(java.lang.Object o)T4getItem4()inthashCode()<T> Tuple4<T,T2,T3,T4>mapItem1(java.util.function.Function<T1,T> mapper)<T> Tuple4<T1,T,T3,T4>mapItem2(java.util.function.Function<T2,T> mapper)<T> Tuple4<T1,T2,T,T4>mapItem3(java.util.function.Function<T3,T> mapper)<T> Tuple4<T1,T2,T3,T>mapItem4(java.util.function.Function<T4,T> mapper)java.lang.Objectnth(int index)Get the item stored at the given index.static <T1,T2,T3,T4>
Tuple4<T1,T2,T3,T4>of(T1 a, T2 b, T3 c, T4 d)intsize()java.lang.StringtoString()-
Methods inherited from class io.smallrye.mutiny.tuples.Tuple2
assertIndexInBounds, getItem1, getItem2, of
-
-
-
-
Method Detail
-
of
public static <T1,T2,T3,T4> Tuple4<T1,T2,T3,T4> of(T1 a, T2 b, T3 c, T4 d)
-
getItem4
public T4 getItem4()
-
nth
public java.lang.Object nth(int index)
Description copied from interface:TupleGet the item stored at the given index.
-
mapItem1
public <T> Tuple4<T,T2,T3,T4> mapItem1(java.util.function.Function<T1,T> mapper)
Description copied from class:Tuple2
-
mapItem2
public <T> Tuple4<T1,T,T3,T4> mapItem2(java.util.function.Function<T2,T> mapper)
Description copied from class:Tuple2
-
asList
public java.util.List<java.lang.Object> asList()
Description copied from interface:Tuple
-
size
public int size()
-
-