Package | Description |
---|---|
io.vavr |
Beside
API the io.vavr package contains core types like (Checked)Functions and Tuples. |
Modifier and Type | Method and Description |
---|---|
<T7> Tuple7<T1,T2,T3,T4,T5,T6,T7> |
Tuple6.append(T7 t7)
Append a value to this tuple.
|
<T7> Tuple7<T1,T2,T3,T4,T5,T6,T7> |
Tuple6.concat(Tuple1<T7> tuple)
Concat a tuple's values to this tuple.
|
<T6,T7> Tuple7<T1,T2,T3,T4,T5,T6,T7> |
Tuple5.concat(Tuple2<T6,T7> tuple)
Concat a tuple's values to this tuple.
|
<T5,T6,T7> Tuple7<T1,T2,T3,T4,T5,T6,T7> |
Tuple4.concat(Tuple3<T5,T6,T7> tuple)
Concat a tuple's values to this tuple.
|
<T4,T5,T6,T7> |
Tuple3.concat(Tuple4<T4,T5,T6,T7> tuple)
Concat a tuple's values to this tuple.
|
<T3,T4,T5,T6,T7> |
Tuple2.concat(Tuple5<T3,T4,T5,T6,T7> tuple)
Concat a tuple's values to this tuple.
|
<T2,T3,T4,T5,T6,T7> |
Tuple1.concat(Tuple6<T2,T3,T4,T5,T6,T7> tuple)
Concat a tuple's values to this tuple.
|
<T1,T2,T3,T4,T5,T6,T7> |
Tuple0.concat(Tuple7<T1,T2,T3,T4,T5,T6,T7> tuple)
Concat a tuple's values to this tuple.
|
<U1,U2,U3,U4,U5,U6,U7> |
Tuple7.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,
Function<? super T6,? extends U6> f6,
Function<? super T7,? extends U7> f7)
Maps the components of this tuple using a mapper function for each component.
|
<U1,U2,U3,U4,U5,U6,U7> |
Tuple7.map(Function7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,Tuple7<U1,U2,U3,U4,U5,U6,U7>> mapper)
Maps the components of this tuple using a mapper function.
|
<U> Tuple7<U,T2,T3,T4,T5,T6,T7> |
Tuple7.map1(Function<? super T1,? extends U> mapper)
Maps the 1st component of this tuple to a new value.
|
<U> Tuple7<T1,U,T3,T4,T5,T6,T7> |
Tuple7.map2(Function<? super T2,? extends U> mapper)
Maps the 2nd component of this tuple to a new value.
|
<U> Tuple7<T1,T2,U,T4,T5,T6,T7> |
Tuple7.map3(Function<? super T3,? extends U> mapper)
Maps the 3rd component of this tuple to a new value.
|
<U> Tuple7<T1,T2,T3,U,T5,T6,T7> |
Tuple7.map4(Function<? super T4,? extends U> mapper)
Maps the 4th component of this tuple to a new value.
|
<U> Tuple7<T1,T2,T3,T4,U,T6,T7> |
Tuple7.map5(Function<? super T5,? extends U> mapper)
Maps the 5th component of this tuple to a new value.
|
<U> Tuple7<T1,T2,T3,T4,T5,U,T7> |
Tuple7.map6(Function<? super T6,? extends U> mapper)
Maps the 6th component of this tuple to a new value.
|
<U> Tuple7<T1,T2,T3,T4,T5,T6,U> |
Tuple7.map7(Function<? super T7,? extends U> mapper)
Maps the 7th component of this tuple to a new value.
|
static <T1,T2,T3,T4,T5,T6,T7> |
Tuple.narrow(Tuple7<? extends T1,? extends T2,? extends T3,? extends T4,? extends T5,? extends T6,? extends T7> t)
Narrows a widened
Tuple7<? extends T1, ? extends T2, ? extends T3, ? extends T4, ? extends T5, ? extends T6, ? extends T7> to Tuple7<T1, T2, T3, T4, T5, T6, T7> . |
static <T1,T2,T3,T4,T5,T6,T7> |
Tuple.of(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7)
Creates a tuple of 7 elements.
|
static <T1,T2,T3,T4,T5,T6,T7> |
Tuple.sequence7(Iterable<? extends Tuple7<? extends T1,? extends T2,? extends T3,? extends T4,? extends T5,? extends T6,? extends T7>> tuples)
Turns a sequence of
Tuple7 into a Tuple7 of Seq s. |
static <T1,T2,T3,T4,T5,T6,T7> |
API.Tuple(T1 t1,
T2 t2,
T3 t3,
T4 t4,
T5 t5,
T6 t6,
T7 t7)
Alias for
Tuple.of(Object, Object, Object, Object, Object, Object, Object)
Creates a tuple of 7 elements. |
Tuple7<T1,T2,T3,T4,T5,T6,T7> |
Tuple7.update1(T1 value)
Sets the 1st element of this tuple to the given
value . |
Tuple7<T1,T2,T3,T4,T5,T6,T7> |
Tuple7.update2(T2 value)
Sets the 2nd element of this tuple to the given
value . |
Tuple7<T1,T2,T3,T4,T5,T6,T7> |
Tuple7.update3(T3 value)
Sets the 3rd element of this tuple to the given
value . |
Tuple7<T1,T2,T3,T4,T5,T6,T7> |
Tuple7.update4(T4 value)
Sets the 4th element of this tuple to the given
value . |
Tuple7<T1,T2,T3,T4,T5,T6,T7> |
Tuple7.update5(T5 value)
Sets the 5th element of this tuple to the given
value . |
Tuple7<T1,T2,T3,T4,T5,T6,T7> |
Tuple7.update6(T6 value)
Sets the 6th element of this tuple to the given
value . |
Tuple7<T1,T2,T3,T4,T5,T6,T7> |
Tuple7.update7(T7 value)
Sets the 7th element of this tuple to the given
value . |
Modifier and Type | Method and Description |
---|---|
static <T1,T2,T3,T4,T5,T6,T7,_1 extends T1,_2 extends T2,_3 extends T3,_4 extends T4,_5 extends T5,_6 extends T6,_7 extends T7> |
Patterns.$Tuple7(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,
API.Match.Pattern<_6,?> p6,
API.Match.Pattern<_7,?> p7) |
static <T1,T2,T3,T4,T5,T6,T7> |
Tuple7.comparator(Comparator<? super T1> t1Comp,
Comparator<? super T2> t2Comp,
Comparator<? super T3> t3Comp,
Comparator<? super T4> t4Comp,
Comparator<? super T5> t5Comp,
Comparator<? super T6> t6Comp,
Comparator<? super T7> t7Comp) |
default CheckedFunction1<Tuple7<T1,T2,T3,T4,T5,T6,T7>,R> |
CheckedFunction7.tupled()
Returns a tupled version of this function.
|
default Function1<Tuple7<T1,T2,T3,T4,T5,T6,T7>,R> |
Function7.tupled()
Returns a tupled version of this function.
|
Modifier and Type | Method and Description |
---|---|
int |
Tuple7.compareTo(Tuple7<T1,T2,T3,T4,T5,T6,T7> that) |
<T1,T2,T3,T4,T5,T6,T7> |
Tuple0.concat(Tuple7<T1,T2,T3,T4,T5,T6,T7> tuple)
Concat a tuple's values to this tuple.
|
<T2,T3,T4,T5,T6,T7,T8> |
Tuple1.concat(Tuple7<T2,T3,T4,T5,T6,T7,T8> tuple)
Concat a tuple's values to this tuple.
|
static <T1,T2,T3,T4,T5,T6,T7> |
Tuple.narrow(Tuple7<? extends T1,? extends T2,? extends T3,? extends T4,? extends T5,? extends T6,? extends T7> t)
Narrows a widened
Tuple7<? extends T1, ? extends T2, ? extends T3, ? extends T4, ? extends T5, ? extends T6, ? extends T7> to Tuple7<T1, T2, T3, T4, T5, T6, T7> . |
Modifier and Type | Method and Description |
---|---|
<U1,U2,U3,U4,U5,U6,U7> |
Tuple7.map(Function7<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,Tuple7<U1,U2,U3,U4,U5,U6,U7>> 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,T6 extends U6,U6,T7 extends U7,U7> |
API.Match.Pattern7.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,
API.Match.Pattern<T6,?> p6,
API.Match.Pattern<T7,?> p7,
Function<T,Tuple7<U1,U2,U3,U4,U5,U6,U7>> unapply) |
static <T1,T2,T3,T4,T5,T6,T7> |
Tuple.sequence7(Iterable<? extends Tuple7<? extends T1,? extends T2,? extends T3,? extends T4,? extends T5,? extends T6,? extends T7>> tuples)
Turns a sequence of
Tuple7 into a Tuple7 of Seq s. |
Copyright © 2021. All Rights Reserved.