Uses of Interface
io.vavr.Function8
Packages that use Function8
Package
Description
Beside
API
the io.vavr package contains core types like (Checked)Functions and Tuples.-
Uses of Function8 in io.vavr
Modifier and TypeFieldDescriptionprivate final Function8
<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> API.Match.Case8.f
Modifier and TypeMethodDescriptionReturns a composed function that first applies this Function8 to the given argument and then applies Functionafter
to the result.static <T1,
T2, T3, T4, T5, T6, T7, T8, R>
Function8<T1, T2, T3, T4, T5, T6, T7, T8, R> Function8.constant
(R value) Returns a function that always returns the constant value that you give in parameter.static <T1,
T2, T3, T4, T5, T6, T7, T8, R>
Function8<T1, T2, T3, T4, T5, T6, T7, T8, R> Alias forof(Function8)
CheckedFunction8.lift
(CheckedFunction8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> partialFunction) Lifts the givenpartialFunction
into a total function that returns anOption
result.Function8.lift
(Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> partialFunction) Lifts the givenpartialFunction
into a total function that returns anOption
result.CheckedFunction8.liftTry
(CheckedFunction8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> partialFunction) Lifts the givenpartialFunction
into a total function that returns anTry
result.Function8.liftTry
(Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> partialFunction) Lifts the givenpartialFunction
into a total function that returns anTry
result.Function8.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>
Function8<T1, T2, T3, T4, T5, T6, T7, T8, R> Function8.narrow
(Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> f) Narrows the givenFunction8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R>
toFunction8<T1, T2, T3, T4, T5, T6, T7, T8, R>
static <T1,
T2, T3, T4, T5, T6, T7, T8, R>
Function8<T1, T2, T3, T4, T5, T6, T7, T8, R> CheckedFunction8.recover
(Function<? super Throwable, ? extends Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R>> recover) Return a composed function that first applies this CheckedFunction8 to the given arguments and in case of throwable try to get value fromrecover
function with same arguments and throwable information.Function8.reversed()
Returns a reversed version of this function.static <T1,
T2, T3, T4, T5, T6, T7, T8, R>
Function8<T1, T2, T3, T4, T5, T6, T7, T8, R> API.unchecked
(CheckedFunction8<T1, T2, T3, T4, T5, T6, T7, T8, R> f) Alias forCheckedFunction8.unchecked()
CheckedFunction8.unchecked()
Returns an unchecked function that will sneaky throw if an exceptions occurs when applying the function.Modifier and TypeMethodDescription<U> U
Tuple8.apply
(Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends U> f) Transforms this tuple to an object of type U.static <T,
T1, T2, T3, T4, T5, T6, T7, T8, R>
API.Match.Case<T, R> API.Case
(API.Match.Pattern8<T, T1, T2, T3, T4, T5, T6, T7, T8> pattern, Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> f) static <T1,
T2, T3, T4, T5, T6, T7, T8, R>
Function8<T1, T2, T3, T4, T5, T6, T7, T8, R> Alias forof(Function8)
Function8.lift
(Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> partialFunction) Lifts the givenpartialFunction
into a total function that returns anOption
result.Function8.liftTry
(Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> partialFunction) Lifts the givenpartialFunction
into a total function that returns anTry
result.<U1,
U2, U3, U4, U5, U6, U7, U8>
Tuple8<U1, U2, U3, U4, U5, U6, U7, U8> Tuple8.map
(Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, Tuple8<U1, U2, U3, U4, U5, U6, U7, U8>> mapper) Maps the components of this tuple using a mapper function.static <T1,
T2, T3, T4, T5, T6, T7, T8, R>
Function8<T1, T2, T3, T4, T5, T6, T7, T8, R> Function8.narrow
(Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> f) Narrows the givenFunction8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R>
toFunction8<T1, T2, T3, T4, T5, T6, T7, T8, R>
static <T1,
T2, T3, T4, T5, T6, T7, T8, R>
Function8<T1, T2, T3, T4, T5, T6, T7, T8, R> <R> Iterator
<R> API.For8.yield
(Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> f) Yields a result for elements of the cross product of the underlying Iterables.<R> Future
<R> API.For8Future.yield
(Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> f) Yields a result for elements of the cross product of the underlying Futures.<R> List
<R> API.For8List.yield
(Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> f) Yields a result for elements of the cross product of the underlying Lists.<R> Option
<R> API.For8Option.yield
(Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> f) Yields a result for elements of the cross product of the underlying Options.<R> Try
<R> API.For8Try.yield
(Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> f) Yields a result for elements of the cross product of the underlying Trys.Modifier and TypeMethodDescriptionCheckedFunction8.recover
(Function<? super Throwable, ? extends Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R>> recover) Return a composed function that first applies this CheckedFunction8 to the given arguments and in case of throwable try to get value fromrecover
function with same arguments and throwable information. -
Uses of Function8 in io.vavr.control
Methods in io.vavr.control with parameters of type Function8