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.$.Failure
(Try.Failure<T> failure) (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> 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.(package private) static <L,
R> Tuple1 <R> $.Right
(Either.Right<L, R> right) Turns a sequence ofTuple1
into 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> Sets the 1st element of this tuple to the givenvalue
.(package private) static <E,
T> Tuple1 <T> $.Valid
(Validation.Valid<E, T> valid) 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 TypeMethodDescriptionprivate static <U1 extends Comparable<? super U1>>
intint
<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>
.(package private) static <T1> Tuple1
<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 ofTuple1
into a Tuple1 ofSeq
.