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.fModifier and TypeMethodDescriptionReturns a composed function that first applies this Function8 to the given argument and then applies Functionafterto the result.Returns a composed function that first applies the Functionbeforeto the 1st argument and then applies this Function8 to the result and the other arguments.Returns a composed function that first applies the Functionbeforeto the 2nd argument and then applies this Function8 to the result and the other arguments.Returns a composed function that first applies the Functionbeforeto the 3rd argument and then applies this Function8 to the result and the other arguments.Returns a composed function that first applies the Functionbeforeto the 4th argument and then applies this Function8 to the result and the other arguments.Returns a composed function that first applies the Functionbeforeto the 5th argument and then applies this Function8 to the result and the other arguments.Returns a composed function that first applies the Functionbeforeto the 6th argument and then applies this Function8 to the result and the other arguments.Returns a composed function that first applies the Functionbeforeto the 7th argument and then applies this Function8 to the result and the other arguments.Returns a composed function that first applies the Functionbeforeto the 8th argument and then applies this Function8 to the result and the other arguments.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(@NonNull CheckedFunction8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> partialFunction) Lifts the givenpartialFunctioninto a total function that returns anOptionresult.Function8.lift(@NonNull Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> partialFunction) Lifts the givenpartialFunctioninto a total function that returns anOptionresult.CheckedFunction8.liftTry(@NonNull CheckedFunction8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> partialFunction) Lifts the givenpartialFunctioninto a total function that returns anTryresult.Function8.liftTry(@NonNull Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> partialFunction) Lifts the givenpartialFunctioninto a total function that returns anTryresult.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(@NonNull 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 fromrecoverfunction 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> UTuple8.apply(@NonNull 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(@NonNull API.Match.Pattern8<T, T1, T2, T3, T4, T5, T6, T7, T8> pattern, @NonNull 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(@NonNull Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> partialFunction) Lifts the givenpartialFunctioninto a total function that returns anOptionresult.Function8.liftTry(@NonNull Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> partialFunction) Lifts the givenpartialFunctioninto a total function that returns anTryresult.<U1,U2, U3, U4, U5, U6, U7, U8>
Tuple8<U1, U2, U3, U4, U5, U6, U7, U8> Tuple8.map(@NonNull 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(@NonNull 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.API.For8Either.yield(@NonNull 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 Eithers.<R> Future<R> API.For8Future.yield(@NonNull 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(@NonNull 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(@NonNull 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(@NonNull 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.<R> Validation<L, R> API.For8Validation.yield(@NonNull 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 Validations.API.ForLazy8Either.yield(@NonNull Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> f) Produces results by mapping the Cartesian product of all bound values.<R> Future<R> API.ForLazy8Future.yield(@NonNull Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> f) Produces results by mapping the Cartesian product of all bound values.<R> List<R> API.ForLazy8List.yield(@NonNull Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> f) Produces results by mapping the Cartesian product of all bound values.<R> Option<R> API.ForLazy8Option.yield(@NonNull Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> f) Produces results by mapping the Cartesian product of all bound values.<R> Try<R> API.ForLazy8Try.yield(@NonNull Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> f) Produces results by mapping the Cartesian product of all bound values.<R> Validation<L, R> API.ForLazy8Validation.yield(@NonNull Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> f) Produces results by mapping the Cartesian product of all bound values.Modifier and TypeMethodDescriptionCheckedFunction8.recover(@NonNull 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 fromrecoverfunction with same arguments and throwable information. -
Uses of Function8 in io.vavr.control
Methods in io.vavr.control with parameters of type Function8