Package | Description |
---|---|
io.vavr |
Beside
API the io.vavr package contains core types like (Checked)Functions and Tuples. |
io.vavr.collection |
Purely functional collections based on Traversable.
|
Modifier and Type | Method and Description |
---|---|
<T3> Tuple3<T1,T2,T3> |
Tuple2.append(T3 t3)
Append a value to this tuple.
|
<T3> Tuple3<T1,T2,T3> |
Tuple2.concat(Tuple1<T3> tuple)
Concat a tuple's values to this tuple.
|
<T2,T3> Tuple3<T1,T2,T3> |
Tuple1.concat(Tuple2<T2,T3> tuple)
Concat a tuple's values to this tuple.
|
<T1,T2,T3> Tuple3<T1,T2,T3> |
Tuple0.concat(Tuple3<T1,T2,T3> tuple)
Concat a tuple's values to this tuple.
|
<U1,U2,U3> Tuple3<U1,U2,U3> |
Tuple3.map(Function<? super T1,? extends U1> f1,
Function<? super T2,? extends U2> f2,
Function<? super T3,? extends U3> f3)
Maps the components of this tuple using a mapper function for each component.
|
<U1,U2,U3> Tuple3<U1,U2,U3> |
Tuple3.map(Function3<? super T1,? super T2,? super T3,Tuple3<U1,U2,U3>> mapper)
Maps the components of this tuple using a mapper function.
|
<U> Tuple3<U,T2,T3> |
Tuple3.map1(Function<? super T1,? extends U> mapper)
Maps the 1st component of this tuple to a new value.
|
<U> Tuple3<T1,U,T3> |
Tuple3.map2(Function<? super T2,? extends U> mapper)
Maps the 2nd component of this tuple to a new value.
|
<U> Tuple3<T1,T2,U> |
Tuple3.map3(Function<? super T3,? extends U> mapper)
Maps the 3rd component of this tuple to a new value.
|
static <T1,T2,T3> Tuple3<T1,T2,T3> |
Tuple.narrow(Tuple3<? extends T1,? extends T2,? extends T3> t)
Narrows a widened
Tuple3<? extends T1, ? extends T2, ? extends T3> to Tuple3<T1, T2, T3> . |
static <T1,T2,T3> Tuple3<T1,T2,T3> |
Tuple.of(T1 t1,
T2 t2,
T3 t3)
Creates a tuple of three elements.
|
static <T1,T2,T3> Tuple3<Seq<T1>,Seq<T2>,Seq<T3>> |
Tuple.sequence3(Iterable<? extends Tuple3<? extends T1,? extends T2,? extends T3>> tuples)
Turns a sequence of
Tuple3 into a Tuple3 of Seq s. |
static <T1,T2,T3> Tuple3<T1,T2,T3> |
API.Tuple(T1 t1,
T2 t2,
T3 t3)
Alias for
Tuple.of(Object, Object, Object)
Creates a tuple of three elements. |
Tuple3<T1,T2,T3> |
Tuple3.update1(T1 value)
Sets the 1st element of this tuple to the given
value . |
Tuple3<T1,T2,T3> |
Tuple3.update2(T2 value)
Sets the 2nd element of this tuple to the given
value . |
Tuple3<T1,T2,T3> |
Tuple3.update3(T3 value)
Sets the 3rd element of this tuple to the given
value . |
Modifier and Type | Method and Description |
---|---|
static <T1,T2,T3,_1 extends T1,_2 extends T2,_3 extends T3> |
Patterns.$Tuple3(API.Match.Pattern<_1,?> p1,
API.Match.Pattern<_2,?> p2,
API.Match.Pattern<_3,?> p3) |
static <T1,T2,T3> Comparator<Tuple3<T1,T2,T3>> |
Tuple3.comparator(Comparator<? super T1> t1Comp,
Comparator<? super T2> t2Comp,
Comparator<? super T3> t3Comp) |
default Function1<Tuple3<T1,T2,T3>,R> |
Function3.tupled()
Returns a tupled version of this function.
|
default CheckedFunction1<Tuple3<T1,T2,T3>,R> |
CheckedFunction3.tupled()
Returns a tupled version of this function.
|
Modifier and Type | Method and Description |
---|---|
int |
Tuple3.compareTo(Tuple3<T1,T2,T3> that) |
<T1,T2,T3> Tuple3<T1,T2,T3> |
Tuple0.concat(Tuple3<T1,T2,T3> 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,T5> Tuple5<T1,T2,T3,T4,T5> |
Tuple2.concat(Tuple3<T3,T4,T5> tuple)
Concat a tuple's values to this tuple.
|
<T4,T5,T6> Tuple6<T1,T2,T3,T4,T5,T6> |
Tuple3.concat(Tuple3<T4,T5,T6> 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.
|
<T6,T7,T8> Tuple8<T1,T2,T3,T4,T5,T6,T7,T8> |
Tuple5.concat(Tuple3<T6,T7,T8> tuple)
Concat a tuple's values to this tuple.
|
static <T1,T2,T3> Tuple3<T1,T2,T3> |
Tuple.narrow(Tuple3<? extends T1,? extends T2,? extends T3> t)
Narrows a widened
Tuple3<? extends T1, ? extends T2, ? extends T3> to Tuple3<T1, T2, T3> . |
Modifier and Type | Method and Description |
---|---|
<U1,U2,U3> Tuple3<U1,U2,U3> |
Tuple3.map(Function3<? super T1,? super T2,? super T3,Tuple3<U1,U2,U3>> 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> |
API.Match.Pattern3.of(Class<? super T> type,
API.Match.Pattern<T1,?> p1,
API.Match.Pattern<T2,?> p2,
API.Match.Pattern<T3,?> p3,
Function<T,Tuple3<U1,U2,U3>> unapply) |
static <T1,T2,T3> Tuple3<Seq<T1>,Seq<T2>,Seq<T3>> |
Tuple.sequence3(Iterable<? extends Tuple3<? extends T1,? extends T2,? extends T3>> tuples)
Turns a sequence of
Tuple3 into a Tuple3 of Seq s. |
Modifier and Type | Method and Description |
---|---|
default <T1,T2,T3> Tuple3<Seq<T1>,Seq<T2>,Seq<T3>> |
Map.unzip3(BiFunction<? super K,? super V,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
default <T1,T2,T3> Tuple3<Seq<T1>,Seq<T2>,Seq<T3>> |
Multimap.unzip3(BiFunction<? super K,? super V,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<IndexedSeq<T1>,IndexedSeq<T2>,IndexedSeq<T3>> |
CharSeq.unzip3(Function<? super Character,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<? extends Set<T1>,? extends Set<T2>,? extends Set<T3>> |
Set.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
default <T1,T2,T3> Tuple3<Iterator<T1>,Iterator<T2>,Iterator<T3>> |
Iterator.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
default <T1,T2,T3> Tuple3<TreeSet<T1>,TreeSet<T2>,TreeSet<T3>> |
BitSet.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<? extends IndexedSeq<T1>,? extends IndexedSeq<T2>,? extends IndexedSeq<T3>> |
IndexedSeq.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<? extends PriorityQueue<T1>,? extends PriorityQueue<T2>,? extends PriorityQueue<T3>> |
PriorityQueue.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
default <T1,T2,T3> Tuple3<Tree<T1>,Tree<T2>,Tree<T3>> |
Tree.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<TreeSet<T1>,TreeSet<T2>,TreeSet<T3>> |
TreeSet.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<Queue<T1>,Queue<T2>,Queue<T3>> |
Queue.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<Vector<T1>,Vector<T2>,Vector<T3>> |
Vector.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<? extends Seq<T1>,? extends Seq<T2>,? extends Seq<T3>> |
Seq.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
default <T1,T2,T3> Tuple3<List<T1>,List<T2>,List<T3>> |
List.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<HashSet<T1>,HashSet<T2>,HashSet<T3>> |
HashSet.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<LinkedHashSet<T1>,LinkedHashSet<T2>,LinkedHashSet<T3>> |
LinkedHashSet.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
default <T1,T2,T3> Tuple3<Stream<T1>,Stream<T2>,Stream<T3>> |
Stream.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<? extends SortedSet<T1>,? extends SortedSet<T2>,? extends SortedSet<T3>> |
SortedSet.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<Array<T1>,Array<T2>,Array<T3>> |
Array.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<? extends Traversable<T1>,? extends Traversable<T2>,? extends Traversable<T3>> |
Traversable.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper)
Unzips this elements by mapping this elements to triples which are subsequently split into three distinct
sets.
|
default <T1,T2,T3> Tuple3<Seq<T1>,Seq<T2>,Seq<T3>> |
Map.unzip3(Function<? super Tuple2<K,V>,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
default <T1,T2,T3> Tuple3<Seq<T1>,Seq<T2>,Seq<T3>> |
Multimap.unzip3(Function<? super Tuple2<K,V>,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
Modifier and Type | Method and Description |
---|---|
default <T1,T2,T3> Tuple3<Seq<T1>,Seq<T2>,Seq<T3>> |
Map.unzip3(BiFunction<? super K,? super V,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
default <T1,T2,T3> Tuple3<Seq<T1>,Seq<T2>,Seq<T3>> |
Multimap.unzip3(BiFunction<? super K,? super V,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<IndexedSeq<T1>,IndexedSeq<T2>,IndexedSeq<T3>> |
CharSeq.unzip3(Function<? super Character,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<? extends Set<T1>,? extends Set<T2>,? extends Set<T3>> |
Set.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
default <T1,T2,T3> Tuple3<Iterator<T1>,Iterator<T2>,Iterator<T3>> |
Iterator.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
default <T1,T2,T3> Tuple3<TreeSet<T1>,TreeSet<T2>,TreeSet<T3>> |
BitSet.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<? extends IndexedSeq<T1>,? extends IndexedSeq<T2>,? extends IndexedSeq<T3>> |
IndexedSeq.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<? extends PriorityQueue<T1>,? extends PriorityQueue<T2>,? extends PriorityQueue<T3>> |
PriorityQueue.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
default <T1,T2,T3> Tuple3<Tree<T1>,Tree<T2>,Tree<T3>> |
Tree.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<TreeSet<T1>,TreeSet<T2>,TreeSet<T3>> |
TreeSet.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<Queue<T1>,Queue<T2>,Queue<T3>> |
Queue.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<Vector<T1>,Vector<T2>,Vector<T3>> |
Vector.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<? extends Seq<T1>,? extends Seq<T2>,? extends Seq<T3>> |
Seq.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
default <T1,T2,T3> Tuple3<List<T1>,List<T2>,List<T3>> |
List.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<HashSet<T1>,HashSet<T2>,HashSet<T3>> |
HashSet.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<LinkedHashSet<T1>,LinkedHashSet<T2>,LinkedHashSet<T3>> |
LinkedHashSet.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
default <T1,T2,T3> Tuple3<Stream<T1>,Stream<T2>,Stream<T3>> |
Stream.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<? extends SortedSet<T1>,? extends SortedSet<T2>,? extends SortedSet<T3>> |
SortedSet.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<Array<T1>,Array<T2>,Array<T3>> |
Array.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
<T1,T2,T3> Tuple3<? extends Traversable<T1>,? extends Traversable<T2>,? extends Traversable<T3>> |
Traversable.unzip3(Function<? super T,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper)
Unzips this elements by mapping this elements to triples which are subsequently split into three distinct
sets.
|
default <T1,T2,T3> Tuple3<Seq<T1>,Seq<T2>,Seq<T3>> |
Map.unzip3(Function<? super Tuple2<K,V>,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
default <T1,T2,T3> Tuple3<Seq<T1>,Seq<T2>,Seq<T3>> |
Multimap.unzip3(Function<? super Tuple2<K,V>,Tuple3<? extends T1,? extends T2,? extends T3>> unzipper) |
Copyright © 2021. All Rights Reserved.