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> CheckedFunction6<T1,T2,T3,T4,T5,T6,V> |
CheckedFunction6.andThen(CheckedFunction1<? super R,? extends V> after)
Returns a composed function that first applies this CheckedFunction6 to the given argument and then applies
CheckedFunction1
after to the result. |
default CheckedFunction6<T2,T3,T4,T5,T6,T7,R> |
CheckedFunction7.apply(T1 t1)
Applies this function partially to one argument.
|
default CheckedFunction6<T3,T4,T5,T6,T7,T8,R> |
CheckedFunction8.apply(T1 t1,
T2 t2)
Applies this function partially to two arguments.
|
static <T1,T2,T3,T4,T5,T6,R> |
API.CheckedFunction(CheckedFunction6<T1,T2,T3,T4,T5,T6,R> methodReference)
Alias for
of(CheckedFunction6) |
static <T1,T2,T3,T4,T5,T6,R> |
CheckedFunction6.constant(R value)
Returns a function that always returns the constant
value that you give in parameter.
|
default CheckedFunction6<T1,T2,T3,T4,T5,T6,R> |
CheckedFunction6.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> |
CheckedFunction6.narrow(CheckedFunction6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> f)
Narrows the given
CheckedFunction6<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? extends R> to CheckedFunction6<T1, T2, T3, T4, T5, T6, R> |
static <T1,T2,T3,T4,T5,T6,R> |
CheckedFunction6.of(CheckedFunction6<T1,T2,T3,T4,T5,T6,R> methodReference)
|
default CheckedFunction6<T6,T5,T4,T3,T2,T1,R> |
CheckedFunction6.reversed()
Returns a reversed version of this function.
|
Modifier and Type | Method and Description |
---|---|
static <T1,T2,T3,T4,T5,T6,R> |
API.CheckedFunction(CheckedFunction6<T1,T2,T3,T4,T5,T6,R> methodReference)
Alias for
of(CheckedFunction6) |
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> |
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> |
CheckedFunction6.narrow(CheckedFunction6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> f)
Narrows the given
CheckedFunction6<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? extends R> to CheckedFunction6<T1, T2, T3, T4, T5, T6, R> |
static <T1,T2,T3,T4,T5,T6,R> |
CheckedFunction6.of(CheckedFunction6<T1,T2,T3,T4,T5,T6,R> methodReference)
|
static <T1,T2,T3,T4,T5,T6,R> |
API.unchecked(CheckedFunction6<T1,T2,T3,T4,T5,T6,R> f)
Alias for
unchecked() |
Modifier and Type | Method and Description |
---|---|
<R> Try<R> |
Try.WithResources6.of(CheckedFunction6<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? extends R> f)
Wraps the result of a computation that may fail in a
Try . |
Copyright © 2021. All Rights Reserved.