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 Functionafter
to 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 forof(Function5)
CheckedFunction5.lift
(CheckedFunction5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R> partialFunction) Lifts the givenpartialFunction
into a total function that returns anOption
result.Function5.lift
(Function5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R> partialFunction) Lifts the givenpartialFunction
into a total function that returns anOption
result.CheckedFunction5.liftTry
(CheckedFunction5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R> partialFunction) Lifts the givenpartialFunction
into a total function that returns anTry
result.Function5.liftTry
(Function5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R> partialFunction) Lifts the givenpartialFunction
into a total function that returns anTry
result.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> 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 fromrecover
function 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> U
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> Alias forof(Function5)
Function5.lift
(Function5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R> partialFunction) Lifts the givenpartialFunction
into a total function that returns anOption
result.Function5.liftTry
(Function5<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? extends R> partialFunction) Lifts the givenpartialFunction
into a total function that returns anTry
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> 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> 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> 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> 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 fromrecover
function with same arguments and throwable information. -
Uses of Function5 in io.vavr.control
Methods in io.vavr.control with parameters of type Function5