Uses of Class
io.vavr.Tuple1
-
Packages that use Tuple1 Package Description io.vavr BesideAPIthe io.vavr package contains core types like (Checked)Functions and Tuples. -
-
Uses of Tuple1 in io.vavr
Methods in io.vavr that return Tuple1 Modifier and Type Method Description <T1> Tuple1<T1>Tuple0. append(T1 t1)Append a value to this tuple.<T1> Tuple1<T1>Tuple0. concat(Tuple1<T1> tuple)Concat a tuple's values to this tuple.(package private) static <T> Tuple1<java.lang.Throwable>$. Failure(Try.Failure<T> failure)(package private) static <T> Tuple1<Option<Try<T>>>$. Future(Future<T> future)(package private) static <E,T>
Tuple1<E>$. Invalid(Validation.Invalid<E,T> invalid)(package private) static <L,R>
Tuple1<L>$. Left(Either.Left<L,R> left)<U1> Tuple1<U1>Tuple1. map(java.util.function.Function<? super T1,? extends U1> mapper)Maps the components of this tuple using a mapper function.static <T1> Tuple1<T1>Tuple. narrow(Tuple1<? extends T1> t)Narrows a widenedTuple1<? extends T1>toTuple1<T1>.static <T1> Tuple1<T1>Tuple. of(T1 t1)Creates a tuple of one element.(package private) static <L,R>
Tuple1<R>$. Right(Either.Right<L,R> right)static <T1> Tuple1<Seq<T1>>Tuple. sequence1(java.lang.Iterable<? extends Tuple1<? extends T1>> tuples)Turns a sequence ofTuple1into a Tuple1 ofSeq.(package private) static <T> Tuple1<T>$. Some(Option.Some<T> some)(package private) static <T> Tuple1<T>$. Success(Try.Success<T> success)static <T1> Tuple1<T1>API. Tuple(T1 t1)Alias forTuple.of(Object)Creates a tuple of one element.(package private) static <T1> Tuple1<T1>$. Tuple1(Tuple1<T1> tuple1)Tuple1<T1>Tuple1. update1(T1 value)Sets the 1st element of this tuple to the givenvalue.(package private) static <E,T>
Tuple1<T>$. Valid(Validation.Valid<E,T> valid)Methods in io.vavr that return types with arguments of type Tuple1 Modifier and Type Method Description static <T1,_1 extends T1>
API.Match.Pattern1<Tuple1<T1>,_1>Patterns. $Tuple1(API.Match.Pattern<_1,?> p1)static <T1> java.util.Comparator<Tuple1<T1>>Tuple1. comparator(java.util.Comparator<? super T1> t1Comp)default CheckedFunction1<Tuple1<T1>,R>CheckedFunction1. tupled()Returns a tupled version of this function.default Function1<Tuple1<T1>,R>Function1. tupled()Returns a tupled version of this function.Methods in io.vavr with parameters of type Tuple1 Modifier and Type Method Description private static <U1 extends java.lang.Comparable<? super U1>>
intTuple1. compareTo(Tuple1<?> o1, Tuple1<?> o2)intTuple1. compareTo(Tuple1<T1> that)<T1> Tuple1<T1>Tuple0. concat(Tuple1<T1> tuple)Concat a tuple's values to this tuple.<T2> Tuple2<T1,T2>Tuple1. concat(Tuple1<T2> tuple)Concat a tuple's values to this tuple.<T3> Tuple3<T1,T2,T3>Tuple2. concat(Tuple1<T3> 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.<T5> Tuple5<T1,T2,T3,T4,T5>Tuple4. concat(Tuple1<T5> tuple)Concat a tuple's values to this tuple.<T6> Tuple6<T1,T2,T3,T4,T5,T6>Tuple5. concat(Tuple1<T6> tuple)Concat a tuple's values 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.<T8> Tuple8<T1,T2,T3,T4,T5,T6,T7,T8>Tuple7. concat(Tuple1<T8> tuple)Concat a tuple's values to this tuple.static <T1> Tuple1<T1>Tuple. narrow(Tuple1<? extends T1> t)Narrows a widenedTuple1<? extends T1>toTuple1<T1>.(package private) static <T1> Tuple1<T1>$. Tuple1(Tuple1<T1> tuple1)Method parameters in io.vavr with type arguments of type Tuple1 Modifier and Type Method Description static <T,T1 extends U1,U1>
API.Match.Pattern1<T,T1>API.Match.Pattern1. of(java.lang.Class<? super T> type, API.Match.Pattern<T1,?> p1, java.util.function.Function<T,Tuple1<U1>> unapply)static <T1> Tuple1<Seq<T1>>Tuple. sequence1(java.lang.Iterable<? extends Tuple1<? extends T1>> tuples)Turns a sequence ofTuple1into a Tuple1 ofSeq.
-