Package | Description |
---|---|
io.vavr |
Beside
API the io.vavr package contains core types like (Checked)Functions and Tuples. |
io.vavr.control |
Modifier and Type | Method and Description |
---|---|
default <V> Function6<T1,T2,T3,T4,T5,T6,V> |
Function6.andThen(Function<? super R,? extends V> after)
Returns a composed function that first applies this Function6 to the given argument and then applies
Function
after to the result. |
default Function6<T2,T3,T4,T5,T6,T7,R> |
Function7.apply(T1 t1)
Applies this function partially to one argument.
|
default Function6<T3,T4,T5,T6,T7,T8,R> |
Function8.apply(T1 t1,
T2 t2)
Applies this function partially to two arguments.
|
static <T1,T2,T3,T4,T5,T6,R> |
Function6.constant(R value)
Returns a function that always returns the constant
value that you give in parameter.
|
static <T1,T2,T3,T4,T5,T6,R> |
API.Function(Function6<T1,T2,T3,T4,T5,T6,R> methodReference)
Alias for
of(Function6) |
static <T1,T2,T3,T4,T5,T6,R> |
CheckedFunction6.lift(CheckedFunction6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> partialFunction)
Lifts the given
partialFunction into a total function that returns an Option result. |
static <T1,T2,T3,T4,T5,T6,R> |
Function6.lift(Function6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> partialFunction)
Lifts the given
partialFunction into a total function that returns an Option result. |
static <T1,T2,T3,T4,T5,T6,R> |
CheckedFunction6.liftTry(CheckedFunction6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> partialFunction)
Lifts the given
partialFunction into a total function that returns an Try result. |
static <T1,T2,T3,T4,T5,T6,R> |
Function6.liftTry(Function6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> partialFunction)
Lifts the given
partialFunction into a total function that returns an Try result. |
default Function6<T1,T2,T3,T4,T5,T6,R> |
Function6.memoized()
Returns a memoizing version of this function, which computes the return value for given arguments only one time.
|
static <T1,T2,T3,T4,T5,T6,R> |
Function6.narrow(Function6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> f)
Narrows the given
Function6<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? extends R> to Function6<T1, T2, T3, T4, T5, T6, R> |
static <T1,T2,T3,T4,T5,T6,R> |
Function6.of(Function6<T1,T2,T3,T4,T5,T6,R> methodReference)
|
default Function6<T1,T2,T3,T4,T5,T6,R> |
CheckedFunction6.recover(Function<? super Throwable,? extends Function6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R>> recover)
Return a composed function that first applies this CheckedFunction6 to the given arguments and in case of throwable
try to get value from
recover function with same arguments and throwable information. |
default Function6<T6,T5,T4,T3,T2,T1,R> |
Function6.reversed()
Returns a reversed version of this function.
|
default Function6<T1,T2,T3,T4,T5,T6,R> |
CheckedFunction6.unchecked()
Returns an unchecked function that will sneaky throw if an exceptions occurs when applying the function.
|
static <T1,T2,T3,T4,T5,T6,R> |
API.unchecked(CheckedFunction6<T1,T2,T3,T4,T5,T6,R> f)
Alias for
CheckedFunction6.unchecked() |
Modifier and Type | Method and Description |
---|---|
<U> U |
Tuple6.apply(Function6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends U> f)
Transforms this tuple to an object of type U.
|
static <T,T1,T2,T3,T4,T5,T6,R> |
API.Case(API.Match.Pattern6<T,T1,T2,T3,T4,T5,T6> pattern,
Function6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> f) |
static <T1,T2,T3,T4,T5,T6,R> |
API.Function(Function6<T1,T2,T3,T4,T5,T6,R> methodReference)
Alias for
of(Function6) |
static <T1,T2,T3,T4,T5,T6,R> |
Function6.lift(Function6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> partialFunction)
Lifts the given
partialFunction into a total function that returns an Option result. |
static <T1,T2,T3,T4,T5,T6,R> |
Function6.liftTry(Function6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> partialFunction)
Lifts the given
partialFunction into a total function that returns an Try result. |
<U1,U2,U3,U4,U5,U6> |
Tuple6.map(Function6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,Tuple6<U1,U2,U3,U4,U5,U6>> mapper)
Maps the components of this tuple using a mapper function.
|
static <T1,T2,T3,T4,T5,T6,R> |
Function6.narrow(Function6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> f)
Narrows the given
Function6<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? extends R> to Function6<T1, T2, T3, T4, T5, T6, R> |
static <T1,T2,T3,T4,T5,T6,R> |
Function6.of(Function6<T1,T2,T3,T4,T5,T6,R> methodReference)
|
<R> Iterator<R> |
API.For6.yield(Function6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> f)
Yields a result for elements of the cross product of the underlying Iterables.
|
<R> Option<R> |
API.For6Option.yield(Function6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> f)
Yields a result for elements of the cross product of the underlying Options.
|
<R> Future<R> |
API.For6Future.yield(Function6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> f)
Yields a result for elements of the cross product of the underlying Futures.
|
<R> Try<R> |
API.For6Try.yield(Function6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> f)
Yields a result for elements of the cross product of the underlying Trys.
|
<R> List<R> |
API.For6List.yield(Function6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> f)
Yields a result for elements of the cross product of the underlying Lists.
|
Modifier and Type | Method and Description |
---|---|
default Function6<T1,T2,T3,T4,T5,T6,R> |
CheckedFunction6.recover(Function<? super Throwable,? extends Function6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R>> recover)
Return a composed function that first applies this CheckedFunction6 to the given arguments and in case of throwable
try to get value from
recover function with same arguments and throwable information. |
Modifier and Type | Method and Description |
---|---|
<R> Validation<Seq<E>,R> |
Validation.Builder6.ap(Function6<T1,T2,T3,T4,T5,T6,R> f) |
Copyright © 2021. All Rights Reserved.