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