Uses of Interface
io.vavr.Function5

Packages that use Function5
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 Function5 in io.vavr

    Fields in io.vavr declared as Function5
    Modifier and Type
    Field
    Description
    private final Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R>
    API.Match.Case5.f
     
    Methods in io.vavr that return Function5
    Modifier and Type
    Method
    Description
    default <V> Function5<T1,T2,T3,T4,T5,V>
    Function5.andThen(Function<? super R,? extends V> after)
    Returns a composed function that first applies this Function5 to the given argument and then applies Function after to the result.
    default Function5<T2,T3,T4,T5,T6,R>
    Function6.apply(T1 t1)
    Applies this function partially to one argument.
    default Function5<T3,T4,T5,T6,T7,R>
    Function7.apply(T1 t1, T2 t2)
    Applies this function partially to two arguments.
    default Function5<T4,T5,T6,T7,T8,R>
    Function8.apply(T1 t1, T2 t2, T3 t3)
    Applies this function partially to three arguments.
    static <T1, T2, T3, T4, T5, R>
    Function5<T1,T2,T3,T4,T5,R>
    Function5.constant(R value)
    Returns a function that always returns the constant value that you give in parameter.
    static <T1, T2, T3, T4, T5, R>
    Function5<T1,T2,T3,T4,T5,R>
    API.Function(Function5<T1,T2,T3,T4,T5,R> methodReference)
    Alias for of(Function5)
    static <T1, T2, T3, T4, T5, R>
    Function5<T1,T2,T3,T4,T5,Option<R>>
    CheckedFunction5.lift(CheckedFunction5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> partialFunction)
    Lifts the given partialFunction into a total function that returns an Option result.
    static <T1, T2, T3, T4, T5, R>
    Function5<T1,T2,T3,T4,T5,Option<R>>
    Function5.lift(Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> partialFunction)
    Lifts the given partialFunction into a total function that returns an Option result.
    static <T1, T2, T3, T4, T5, R>
    Function5<T1,T2,T3,T4,T5,Try<R>>
    CheckedFunction5.liftTry(CheckedFunction5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> partialFunction)
    Lifts the given partialFunction into a total function that returns an Try result.
    static <T1, T2, T3, T4, T5, R>
    Function5<T1,T2,T3,T4,T5,Try<R>>
    Function5.liftTry(Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> partialFunction)
    Lifts the given partialFunction into a total function that returns an Try result.
    default Function5<T1,T2,T3,T4,T5,R>
    Function5.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, R>
    Function5<T1,T2,T3,T4,T5,R>
    Function5.narrow(Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> f)
    Narrows the given Function5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R> to Function5<T1, T2, T3, T4, T5, R>
    static <T1, T2, T3, T4, T5, R>
    Function5<T1,T2,T3,T4,T5,R>
    Function5.of(Function5<T1,T2,T3,T4,T5,R> methodReference)
    Creates a Function5 based on method reference lambda expression Examples (w.l.o.g.
    default Function5<T1,T2,T3,T4,T5,R>
    CheckedFunction5.recover(Function<? super Throwable,? extends Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R>> recover)
    Return a composed function that first applies this CheckedFunction5 to the given arguments and in case of throwable try to get value from recover function with same arguments and throwable information.
    default Function5<T5,T4,T3,T2,T1,R>
    Function5.reversed()
    Returns a reversed version of this function.
    static <T1, T2, T3, T4, T5, R>
    Function5<T1,T2,T3,T4,T5,R>
    API.unchecked(CheckedFunction5<T1,T2,T3,T4,T5,R> f)
    default Function5<T1,T2,T3,T4,T5,R>
    CheckedFunction5.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 Function5
    Modifier and Type
    Method
    Description
    <U> U
    Tuple5.apply(Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends U> f)
    Transforms this tuple to an object of type U.
    static <T, T1, T2, T3, T4, T5, R>
    API.Match.Case<T,R>
    API.Case(API.Match.Pattern5<T,T1,T2,T3,T4,T5> pattern, Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> f)
     
    static <T1, T2, T3, T4, T5, R>
    Function5<T1,T2,T3,T4,T5,R>
    API.Function(Function5<T1,T2,T3,T4,T5,R> methodReference)
    Alias for of(Function5)
    static <T1, T2, T3, T4, T5, R>
    Function5<T1,T2,T3,T4,T5,Option<R>>
    Function5.lift(Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> partialFunction)
    Lifts the given partialFunction into a total function that returns an Option result.
    static <T1, T2, T3, T4, T5, R>
    Function5<T1,T2,T3,T4,T5,Try<R>>
    Function5.liftTry(Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> partialFunction)
    Lifts the given partialFunction into a total function that returns an Try result.
    <U1, U2, U3, U4, U5>
    Tuple5<U1,U2,U3,U4,U5>
    Tuple5.map(Function5<? super T1,? super T2,? super T3,? super T4,? super T5,Tuple5<U1,U2,U3,U4,U5>> mapper)
    Maps the components of this tuple using a mapper function.
    static <T1, T2, T3, T4, T5, R>
    Function5<T1,T2,T3,T4,T5,R>
    Function5.narrow(Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> f)
    Narrows the given Function5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R> to Function5<T1, T2, T3, T4, T5, R>
    static <T1, T2, T3, T4, T5, R>
    Function5<T1,T2,T3,T4,T5,R>
    Function5.of(Function5<T1,T2,T3,T4,T5,R> methodReference)
    Creates a Function5 based on method reference lambda expression Examples (w.l.o.g.
    <R> Iterator<R>
    API.For5.yield(Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> f)
    Yields a result for elements of the cross product of the underlying Iterables.
    <R> Future<R>
    API.For5Future.yield(Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> f)
    Yields a result for elements of the cross product of the underlying Futures.
    <R> List<R>
    API.For5List.yield(Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> f)
    Yields a result for elements of the cross product of the underlying Lists.
    <R> Option<R>
    API.For5Option.yield(Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> f)
    Yields a result for elements of the cross product of the underlying Options.
    <R> Try<R>
    API.For5Try.yield(Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> f)
    Yields a result for elements of the cross product of the underlying Trys.
    Method parameters in io.vavr with type arguments of type Function5
    Modifier and Type
    Method
    Description
    default Function5<T1,T2,T3,T4,T5,R>
    CheckedFunction5.recover(Function<? super Throwable,? extends Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R>> recover)
    Return a composed function that first applies this CheckedFunction5 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 Function5
    Modifier
    Constructor
    Description
    private
    Case5(API.Match.Pattern5<T,T1,T2,T3,T4,T5> pattern, Function5<? super T1,? super T2,? super T3,? super T4,? super T5,? extends R> f)
     
  • Uses of Function5 in io.vavr.control

    Methods in io.vavr.control with parameters of type Function5
    Modifier and Type
    Method
    Description
    <R> Validation<Seq<E>,R>
    Validation.Builder5.ap(Function5<T1,T2,T3,T4,T5,R> f)