Uses of Class
io.vavr.Tuple4
-
Packages that use Tuple4 Package Description io.vavr BesideAPI
the io.vavr package contains core types like (Checked)Functions and Tuples. -
-
Uses of Tuple4 in io.vavr
Methods in io.vavr that return Tuple4 Modifier and Type Method Description <T4> Tuple4<T1,T2,T3,T4>
Tuple3. append(T4 t4)
Append a value to this tuple.<T1,T2,T3,T4>
Tuple4<T1,T2,T3,T4>Tuple0. concat(Tuple4<T1,T2,T3,T4> tuple)
Concat a tuple's values to this tuple.<T2,T3,T4>
Tuple4<T1,T2,T3,T4>Tuple1. concat(Tuple3<T2,T3,T4> tuple)
Concat a tuple's values to this tuple.<T3,T4>
Tuple4<T1,T2,T3,T4>Tuple2. concat(Tuple2<T3,T4> tuple)
Concat a tuple's values to this tuple.<T4> Tuple4<T1,T2,T3,T4>
Tuple3. concat(Tuple1<T4> tuple)
Concat a tuple's values to this tuple.<U1,U2,U3,U4>
Tuple4<U1,U2,U3,U4>Tuple4. map(Function4<? super T1,? super T2,? super T3,? super T4,Tuple4<U1,U2,U3,U4>> mapper)
Maps the components of this tuple using a mapper function.<U1,U2,U3,U4>
Tuple4<U1,U2,U3,U4>Tuple4. map(java.util.function.Function<? super T1,? extends U1> f1, java.util.function.Function<? super T2,? extends U2> f2, java.util.function.Function<? super T3,? extends U3> f3, java.util.function.Function<? super T4,? extends U4> f4)
Maps the components of this tuple using a mapper function for each component.<U> Tuple4<U,T2,T3,T4>
Tuple4. map1(java.util.function.Function<? super T1,? extends U> mapper)
Maps the 1st component of this tuple to a new value.<U> Tuple4<T1,U,T3,T4>
Tuple4. map2(java.util.function.Function<? super T2,? extends U> mapper)
Maps the 2nd component of this tuple to a new value.<U> Tuple4<T1,T2,U,T4>
Tuple4. map3(java.util.function.Function<? super T3,? extends U> mapper)
Maps the 3rd component of this tuple to a new value.<U> Tuple4<T1,T2,T3,U>
Tuple4. map4(java.util.function.Function<? super T4,? extends U> mapper)
Maps the 4th component of this tuple to a new value.static <T1,T2,T3,T4>
Tuple4<T1,T2,T3,T4>Tuple. narrow(Tuple4<? extends T1,? extends T2,? extends T3,? extends T4> t)
Narrows a widenedTuple4<? extends T1, ? extends T2, ? extends T3, ? extends T4>
toTuple4<T1, T2, T3, T4>
.static <T1,T2,T3,T4>
Tuple4<T1,T2,T3,T4>Tuple. of(T1 t1, T2 t2, T3 t3, T4 t4)
Creates a tuple of 4 elements.static <T1,T2,T3,T4>
Tuple4<Seq<T1>,Seq<T2>,Seq<T3>,Seq<T4>>Tuple. sequence4(java.lang.Iterable<? extends Tuple4<? extends T1,? extends T2,? extends T3,? extends T4>> tuples)
Turns a sequence ofTuple4
into a Tuple4 ofSeq
s.static <T1,T2,T3,T4>
Tuple4<T1,T2,T3,T4>API. Tuple(T1 t1, T2 t2, T3 t3, T4 t4)
Alias forTuple.of(Object, Object, Object, Object)
Creates a tuple of 4 elements.(package private) static <T1,T2,T3,T4>
Tuple4<T1,T2,T3,T4>$. Tuple4(Tuple4<T1,T2,T3,T4> tuple4)
Tuple4<T1,T2,T3,T4>
Tuple4. update1(T1 value)
Sets the 1st element of this tuple to the givenvalue
.Tuple4<T1,T2,T3,T4>
Tuple4. update2(T2 value)
Sets the 2nd element of this tuple to the givenvalue
.Tuple4<T1,T2,T3,T4>
Tuple4. update3(T3 value)
Sets the 3rd element of this tuple to the givenvalue
.Tuple4<T1,T2,T3,T4>
Tuple4. update4(T4 value)
Sets the 4th element of this tuple to the givenvalue
.Methods in io.vavr that return types with arguments of type Tuple4 Modifier and Type Method Description static <T1,T2,T3,T4,_1 extends T1,_2 extends T2,_3 extends T3,_4 extends T4>
API.Match.Pattern4<Tuple4<T1,T2,T3,T4>,_1,_2,_3,_4>Patterns. $Tuple4(API.Match.Pattern<_1,?> p1, API.Match.Pattern<_2,?> p2, API.Match.Pattern<_3,?> p3, API.Match.Pattern<_4,?> p4)
static <T1,T2,T3,T4>
java.util.Comparator<Tuple4<T1,T2,T3,T4>>Tuple4. comparator(java.util.Comparator<? super T1> t1Comp, java.util.Comparator<? super T2> t2Comp, java.util.Comparator<? super T3> t3Comp, java.util.Comparator<? super T4> t4Comp)
default CheckedFunction1<Tuple4<T1,T2,T3,T4>,R>
CheckedFunction4. tupled()
Returns a tupled version of this function.default Function1<Tuple4<T1,T2,T3,T4>,R>
Function4. tupled()
Returns a tupled version of this function.Methods in io.vavr with parameters of type Tuple4 Modifier and Type Method Description private static <U1 extends java.lang.Comparable<? super U1>,U2 extends java.lang.Comparable<? super U2>,U3 extends java.lang.Comparable<? super U3>,U4 extends java.lang.Comparable<? super U4>>
intTuple4. compareTo(Tuple4<?,?,?,?> o1, Tuple4<?,?,?,?> o2)
int
Tuple4. compareTo(Tuple4<T1,T2,T3,T4> that)
<T1,T2,T3,T4>
Tuple4<T1,T2,T3,T4>Tuple0. concat(Tuple4<T1,T2,T3,T4> tuple)
Concat a tuple's values to this tuple.<T2,T3,T4,T5>
Tuple5<T1,T2,T3,T4,T5>Tuple1. concat(Tuple4<T2,T3,T4,T5> tuple)
Concat a tuple's values to this tuple.<T3,T4,T5,T6>
Tuple6<T1,T2,T3,T4,T5,T6>Tuple2. concat(Tuple4<T3,T4,T5,T6> tuple)
Concat a tuple's values to this tuple.<T4,T5,T6,T7>
Tuple7<T1,T2,T3,T4,T5,T6,T7>Tuple3. concat(Tuple4<T4,T5,T6,T7> tuple)
Concat a tuple's values to this tuple.<T5,T6,T7,T8>
Tuple8<T1,T2,T3,T4,T5,T6,T7,T8>Tuple4. concat(Tuple4<T5,T6,T7,T8> tuple)
Concat a tuple's values to this tuple.static <T1,T2,T3,T4>
Tuple4<T1,T2,T3,T4>Tuple. narrow(Tuple4<? extends T1,? extends T2,? extends T3,? extends T4> t)
Narrows a widenedTuple4<? extends T1, ? extends T2, ? extends T3, ? extends T4>
toTuple4<T1, T2, T3, T4>
.(package private) static <T1,T2,T3,T4>
Tuple4<T1,T2,T3,T4>$. Tuple4(Tuple4<T1,T2,T3,T4> tuple4)
Method parameters in io.vavr with type arguments of type Tuple4 Modifier and Type Method Description <U1,U2,U3,U4>
Tuple4<U1,U2,U3,U4>Tuple4. map(Function4<? super T1,? super T2,? super T3,? super T4,Tuple4<U1,U2,U3,U4>> mapper)
Maps the components of this tuple using a mapper function.static <T,T1 extends U1,U1,T2 extends U2,U2,T3 extends U3,U3,T4 extends U4,U4>
API.Match.Pattern4<T,T1,T2,T3,T4>API.Match.Pattern4. of(java.lang.Class<? super T> type, API.Match.Pattern<T1,?> p1, API.Match.Pattern<T2,?> p2, API.Match.Pattern<T3,?> p3, API.Match.Pattern<T4,?> p4, java.util.function.Function<T,Tuple4<U1,U2,U3,U4>> unapply)
static <T1,T2,T3,T4>
Tuple4<Seq<T1>,Seq<T2>,Seq<T3>,Seq<T4>>Tuple. sequence4(java.lang.Iterable<? extends Tuple4<? extends T1,? extends T2,? extends T3,? extends T4>> tuples)
Turns a sequence ofTuple4
into a Tuple4 ofSeq
s.
-