Uses of Class
io.vavr.Tuple5
Packages that use Tuple5
Package
Description
Beside
API
the io.vavr package contains core types like (Checked)Functions and Tuples.-
Uses of Tuple5 in io.vavr
Modifier and TypeMethodDescriptionTuple4.append
(T5 t5) Append a value to this tuple.<T1,
T2, T3, T4, T5>
Tuple5<T1, T2, T3, T4, T5> Concat a tuple's values to this tuple.Concat a tuple's values to this tuple.Concat a tuple's values to this tuple.Concat a tuple's values to this tuple.Concat a tuple's values to this tuple.<U1,
U2, U3, U4, U5>
Tuple5<U1, U2, U3, U4, U5> Tuple5.map
(Function5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, Tuple5<U1, U2, U3, U4, U5>> mapper) Maps the components of this tuple using a mapper function.<U1,
U2, U3, U4, U5>
Tuple5<U1, U2, U3, U4, U5> Tuple5.map
(Function<? super T1, ? extends U1> f1, Function<? super T2, ? extends U2> f2, Function<? super T3, ? extends U3> f3, Function<? super T4, ? extends U4> f4, Function<? super T5, ? extends U5> f5) Maps the components of this tuple using a mapper function for each component.Maps the 1st component of this tuple to a new value.Maps the 2nd component of this tuple to a new value.Maps the 3rd component of this tuple to a new value.Maps the 4th component of this tuple to a new value.Maps the 5th component of this tuple to a new value.static <T1,
T2, T3, T4, T5>
Tuple5<T1, T2, T3, T4, T5> Narrows a widenedTuple5<? extends T1, ? extends T2, ? extends T3, ? extends T4, ? extends T5>
toTuple5<T1, T2, T3, T4, T5>
.static <T1,
T2, T3, T4, T5>
Tuple5<T1, T2, T3, T4, T5> Tuple.of
(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5) Creates a tuple of 5 elements.Tuple.sequence5
(Iterable<? extends Tuple5<? extends T1, ? extends T2, ? extends T3, ? extends T4, ? extends T5>> tuples) Turns a sequence ofTuple5
into a Tuple5 ofSeq
s.static <T1,
T2, T3, T4, T5>
Tuple5<T1, T2, T3, T4, T5> API.Tuple
(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5) Alias forTuple.of(Object, Object, Object, Object, Object)
Creates a tuple of 5 elements.(package private) static <T1,
T2, T3, T4, T5>
Tuple5<T1, T2, T3, T4, T5> Sets the 1st element of this tuple to the givenvalue
.Sets the 2nd element of this tuple to the givenvalue
.Sets the 3rd element of this tuple to the givenvalue
.Sets the 4th element of this tuple to the givenvalue
.Sets the 5th element of this tuple to the givenvalue
.Modifier and TypeMethodDescriptionstatic <T1,
T2, T3, T4, T5, _1 extends T1, _2 extends T2, _3 extends T3, _4 extends T4, _5 extends T5>
API.Match.Pattern5<Tuple5<T1, T2, T3, T4, T5>, _1, _2, _3, _4, _5> Patterns.$Tuple5
(API.Match.Pattern<_1, ?> p1, API.Match.Pattern<_2, ?> p2, API.Match.Pattern<_3, ?> p3, API.Match.Pattern<_4, ?> p4, API.Match.Pattern<_5, ?> p5) static <T1,
T2, T3, T4, T5>
Comparator<Tuple5<T1, T2, T3, T4, T5>> Tuple5.comparator
(Comparator<? super T1> t1Comp, Comparator<? super T2> t2Comp, Comparator<? super T3> t3Comp, Comparator<? super T4> t4Comp, Comparator<? super T5> t5Comp) CheckedFunction5.tupled()
Returns a tupled version of this function.Function5.tupled()
Returns a tupled version of this function.Modifier and TypeMethodDescriptionprivate static <U1 extends Comparable<? super U1>,
U2 extends Comparable<? super U2>, U3 extends Comparable<? super U3>, U4 extends Comparable<? super U4>, U5 extends Comparable<? super U5>>
intint
<T1,
T2, T3, T4, T5>
Tuple5<T1, T2, T3, T4, T5> Concat a tuple's values to this tuple.Concat a tuple's values to this tuple.Concat a tuple's values to this tuple.Concat a tuple's values to this tuple.static <T1,
T2, T3, T4, T5>
Tuple5<T1, T2, T3, T4, T5> Narrows a widenedTuple5<? extends T1, ? extends T2, ? extends T3, ? extends T4, ? extends T5>
toTuple5<T1, T2, T3, T4, T5>
.(package private) static <T1,
T2, T3, T4, T5>
Tuple5<T1, T2, T3, T4, T5> Modifier and TypeMethodDescription<U1,
U2, U3, U4, U5>
Tuple5<U1, U2, U3, U4, U5> Tuple5.map
(Function5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, Tuple5<U1, U2, U3, U4, U5>> 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, T5 extends U5, U5>
API.Match.Pattern5<T, T1, T2, T3, T4, T5> API.Match.Pattern5.of
(Class<? super T> type, API.Match.Pattern<T1, ?> p1, API.Match.Pattern<T2, ?> p2, API.Match.Pattern<T3, ?> p3, API.Match.Pattern<T4, ?> p4, API.Match.Pattern<T5, ?> p5, Function<T, Tuple5<U1, U2, U3, U4, U5>> unapply) Tuple.sequence5
(Iterable<? extends Tuple5<? extends T1, ? extends T2, ? extends T3, ? extends T4, ? extends T5>> tuples) Turns a sequence ofTuple5
into a Tuple5 ofSeq
s.