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.-
Uses of Function5 in io.vavr
Modifier and TypeMethodDescriptionReturns a composed function that first applies this Function5 to the given argument and then applies Functionafterto the result.Applies this function partially to one argument.Applies this function partially to two arguments.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> Alias forFunction5.of(Function5)CheckedFunction5.lift(CheckedFunction5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R> partialFunction) Lifts the givenpartialFunctioninto a total function that returns anOptionresult.Function5.lift(Function5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R> partialFunction) Lifts the givenpartialFunctioninto a total function that returns anOptionresult.CheckedFunction5.liftTry(CheckedFunction5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R> partialFunction) Lifts the givenpartialFunctioninto a total function that returns anTryresult.Function5.liftTry(Function5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R> partialFunction) Lifts the givenpartialFunctioninto a total function that returns anTryresult.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 givenFunction5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R>toFunction5<T1, T2, T3, T4, T5, R>static <T1,T2, T3, T4, T5, R>
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 fromrecoverfunction with same arguments and throwable information.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) Alias forCheckedFunction5.unchecked()CheckedFunction5.unchecked()Returns an unchecked function that will sneaky throw if an exceptions occurs when applying the function.Modifier and TypeMethodDescription<U> UTransforms 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> Alias forFunction5.of(Function5)Function5.lift(Function5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R> partialFunction) Lifts the givenpartialFunctioninto a total function that returns anOptionresult.Function5.liftTry(Function5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R> partialFunction) Lifts the givenpartialFunctioninto a total function that returns anTryresult.<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 givenFunction5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R>toFunction5<T1, T2, T3, T4, T5, R>static <T1,T2, T3, T4, T5, R>
Function5<T1, T2, T3, T4, T5, R> <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.Modifier and TypeMethodDescriptionCheckedFunction5.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 fromrecoverfunction with same arguments and throwable information. -
Uses of Function5 in io.vavr.control
Methods in io.vavr.control with parameters of type Function5