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.
Control structures like the disjoint union type Either, the optional value type Option and Try for exception handling.
  • Uses of Function8 in io.vavr

    Fields in io.vavr declared as Function8
    Modifier and Type
    Field
    Description
    private final Function8<? super T1,? super T2,? super T3,? super T4,? super T5,? super T6,? super T7,? super T8,? extends R>
    API.Match.Case8.f
     
    Methods in io.vavr that return Function8
    Modifier and Type
    Method
    Description
    default <V> Function8<T1,T2,T3,T4,T5,T6,T7,T8,V>
    Function8.andThen(@NonNull Function<? super R,? extends V> after)
    Returns a composed function that first applies this Function8 to the given argument and then applies Function after to the result.
    default <S> Function8<S,T2,T3,T4,T5,T6,T7,T8,R>
    Function8.compose1(@NonNull Function1<? super S,? extends T1> before)
    Returns a composed function that first applies the Function before to the 1st argument and then applies this Function8 to the result and the other arguments.
    default <S> Function8<T1,S,T3,T4,T5,T6,T7,T8,R>
    Function8.compose2(@NonNull Function1<? super S,? extends T2> before)
    Returns a composed function that first applies the Function before to the 2nd argument and then applies this Function8 to the result and the other arguments.
    default <S> Function8<T1,T2,S,T4,T5,T6,T7,T8,R>
    Function8.compose3(@NonNull Function1<? super S,? extends T3> before)
    Returns a composed function that first applies the Function before to the 3rd argument and then applies this Function8 to the result and the other arguments.
    default <S> Function8<T1,T2,T3,S,T5,T6,T7,T8,R>
    Function8.compose4(@NonNull Function1<? super S,? extends T4> before)
    Returns a composed function that first applies the Function before to the 4th argument and then applies this Function8 to the result and the other arguments.
    default <S> Function8<T1,T2,T3,T4,S,T6,T7,T8,R>
    Function8.compose5(@NonNull Function1<? super S,? extends T5> before)
    Returns a composed function that first applies the Function before to the 5th argument and then applies this Function8 to the result and the other arguments.
    default <S> Function8<T1,T2,T3,T4,T5,S,T7,T8,R>
    Function8.compose6(@NonNull Function1<? super S,? extends T6> before)
    Returns a composed function that first applies the Function before to the 6th argument and then applies this Function8 to the result and the other arguments.
    default <S> Function8<T1,T2,T3,T4,T5,T6,S,T8,R>
    Function8.compose7(@NonNull Function1<? super S,? extends T7> before)
    Returns a composed function that first applies the Function before to the 7th argument and then applies this Function8 to the result and the other arguments.
    default <S> Function8<T1,T2,T3,T4,T5,T6,T7,S,R>
    Function8.compose8(@NonNull Function1<? super S,? extends T8> before)
    Returns a composed function that first applies the Function before to 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>
    API.Function(Function8<T1,T2,T3,T4,T5,T6,T7,T8,R> methodReference)
    Alias for of(Function8)
    static <T1, T2, T3, T4, T5, T6, T7, T8, R>
    Function8<T1,T2,T3,T4,T5,T6,T7,T8,Option<R>>
    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 given partialFunction into a total function that returns an Option result.
    static <T1, T2, T3, T4, T5, T6, T7, T8, R>
    Function8<T1,T2,T3,T4,T5,T6,T7,T8,Option<R>>
    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 given partialFunction into a total function that returns an Option result.
    static <T1, T2, T3, T4, T5, T6, T7, T8, R>
    Function8<T1,T2,T3,T4,T5,T6,T7,T8,Try<R>>
    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 given partialFunction into a total function that returns an Try result.
    static <T1, T2, T3, T4, T5, T6, T7, T8, R>
    Function8<T1,T2,T3,T4,T5,T6,T7,T8,Try<R>>
    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 given partialFunction into a total function that returns an Try result.
    default Function8<T1,T2,T3,T4,T5,T6,T7,T8,R>
    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 given Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> to Function8<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>
    Function8.of(@NonNull Function8<T1,T2,T3,T4,T5,T6,T7,T8,R> methodReference)
    Creates a Function8 based on method reference lambda expression Examples (w.l.o.g.
    default 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 from recover function with same arguments and throwable information.
    default Function8<T8,T7,T6,T5,T4,T3,T2,T1,R>
    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)
    default Function8<T1,T2,T3,T4,T5,T6,T7,T8,R>
    CheckedFunction8.unchecked()
    Returns an unchecked function that will sneaky throw if an exceptions occurs when applying the function.
    Methods in io.vavr with parameters of type Function8
    Modifier and Type
    Method
    Description
    <U> U
    Tuple8.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)
    Returns a API.Match.Case8 instance for a specific API.Match.Pattern8 and Function8
    static <T1, T2, T3, T4, T5, T6, T7, T8, R>
    Function8<T1,T2,T3,T4,T5,T6,T7,T8,R>
    API.Function(Function8<T1,T2,T3,T4,T5,T6,T7,T8,R> methodReference)
    Alias for of(Function8)
    static <T1, T2, T3, T4, T5, T6, T7, T8, R>
    Function8<T1,T2,T3,T4,T5,T6,T7,T8,Option<R>>
    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 given partialFunction into a total function that returns an Option result.
    static <T1, T2, T3, T4, T5, T6, T7, T8, R>
    Function8<T1,T2,T3,T4,T5,T6,T7,T8,Try<R>>
    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 given partialFunction into a total function that returns an Try result.
    <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 given Function8<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? super T8, ? extends R> to Function8<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>
    Function8.of(@NonNull Function8<T1,T2,T3,T4,T5,T6,T7,T8,R> methodReference)
    Creates a Function8 based on method reference lambda expression Examples (w.l.o.g.
    <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.
    <R> Either<L,R>
    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.
    <R> Either<L,R>
    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.
    Method parameters in io.vavr with type arguments of type Function8
    Modifier and Type
    Method
    Description
    default 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 from recover function with same arguments and throwable information.
    Constructors in io.vavr with parameters of type Function8
    Modifier
    Constructor
    Description
    private
    Case8(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)
     
  • Uses of Function8 in io.vavr.control

    Methods in io.vavr.control with parameters of type Function8
    Modifier and Type
    Method
    Description
    <R> Validation<Seq<E>,R>
    Validation.Builder8.ap(Function8<T1,T2,T3,T4,T5,T6,T7,T8,R> f)
    Applies an octonary function to the values of the eight validations held by this builder.