Uses of Class
io.vavr.Tuple1
Packages that use Tuple1
Package
Description
Beside
API the io.vavr package contains core types like (Checked)Functions and Tuples.-
Uses of Tuple1 in io.vavr
Modifier and TypeMethodDescription<T1> Tuple1<T1> Tuple0.append(T1 t1) Append a value to this tuple.<T1> Tuple1<T1> Concat a tuple's values to this tuple.<U1> Tuple1<U1> Maps the components of this tuple using a mapper function.static <T1> Tuple1<T1> Narrows a widenedTuple1<? extends T1>toTuple1<T1>.static <T1> Tuple1<T1> Tuple.of(T1 t1) Creates a tuple of one element.Turns a sequence ofTuple1into a Tuple1 ofSeq.static <T1> Tuple1<T1> API.Tuple(T1 t1) Alias forTuple.of(Object)Creates a tuple of one element.Sets the 1st element of this tuple to the givenvalue.Modifier and TypeMethodDescriptionstatic <T1,_1 extends T1>
API.Match.Pattern1<Tuple1<T1>, _1> Patterns.$Tuple1(API.Match.Pattern<_1, ?> p1) static <T1> Comparator<Tuple1<T1>> Tuple1.comparator(Comparator<? super T1> t1Comp) default CheckedFunction1<Tuple1<T1>, R> CheckedFunction1.tupled()Returns a tupled version of this function.Function1.tupled()Returns a tupled version of this function.Modifier and TypeMethodDescriptionint<T1> Tuple1<T1> 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.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> Tuple1<T1> Narrows a widenedTuple1<? extends T1>toTuple1<T1>.Modifier and TypeMethodDescriptionstatic <T,T1 extends U1, U1>
API.Match.Pattern1<T, T1> API.Match.Pattern1.of(Class<? super T> type, API.Match.Pattern<T1, ?> p1, Function<T, Tuple1<U1>> unapply) Turns a sequence ofTuple1into a Tuple1 ofSeq.