Uses of Interface
io.vavr.Function7
Packages that use Function7
Package
Description
Beside
API
the io.vavr package contains core types like (Checked)Functions and Tuples.-
Uses of Function7 in io.vavr
Modifier and TypeFieldDescriptionprivate final Function7
<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R> API.Match.Case7.f
Modifier and TypeMethodDescriptionReturns a composed function that first applies this Function7 to the given argument and then applies Functionafter
to the result.Applies this function partially to one argument.static <T1,
T2, T3, T4, T5, T6, T7, R>
Function7<T1, T2, T3, T4, T5, T6, T7, R> Function7.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, R>
Function7<T1, T2, T3, T4, T5, T6, T7, R> Alias forof(Function7)
CheckedFunction7.lift
(CheckedFunction7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R> partialFunction) Lifts the givenpartialFunction
into a total function that returns anOption
result.Function7.lift
(Function7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R> partialFunction) Lifts the givenpartialFunction
into a total function that returns anOption
result.CheckedFunction7.liftTry
(CheckedFunction7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R> partialFunction) Lifts the givenpartialFunction
into a total function that returns anTry
result.Function7.liftTry
(Function7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R> partialFunction) Lifts the givenpartialFunction
into a total function that returns anTry
result.Function7.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, R>
Function7<T1, T2, T3, T4, T5, T6, T7, R> Function7.narrow
(Function7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R> f) Narrows the givenFunction7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R>
toFunction7<T1, T2, T3, T4, T5, T6, T7, R>
static <T1,
T2, T3, T4, T5, T6, T7, R>
Function7<T1, T2, T3, T4, T5, T6, T7, R> CheckedFunction7.recover
(Function<? super Throwable, ? extends Function7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R>> recover) Return a composed function that first applies this CheckedFunction7 to the given arguments and in case of throwable try to get value fromrecover
function with same arguments and throwable information.Function7.reversed()
Returns a reversed version of this function.static <T1,
T2, T3, T4, T5, T6, T7, R>
Function7<T1, T2, T3, T4, T5, T6, T7, R> API.unchecked
(CheckedFunction7<T1, T2, T3, T4, T5, T6, T7, R> f) Alias forCheckedFunction7.unchecked()
CheckedFunction7.unchecked()
Returns an unchecked function that will sneaky throw if an exceptions occurs when applying the function.Modifier and TypeMethodDescription<U> U
Tuple7.apply
(Function7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends U> f) Transforms this tuple to an object of type U.static <T,
T1, T2, T3, T4, T5, T6, T7, R>
API.Match.Case<T, R> API.Case
(API.Match.Pattern7<T, T1, T2, T3, T4, T5, T6, T7> pattern, Function7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R> f) static <T1,
T2, T3, T4, T5, T6, T7, R>
Function7<T1, T2, T3, T4, T5, T6, T7, R> Alias forof(Function7)
Function7.lift
(Function7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R> partialFunction) Lifts the givenpartialFunction
into a total function that returns anOption
result.Function7.liftTry
(Function7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R> partialFunction) Lifts the givenpartialFunction
into a total function that returns anTry
result.<U1,
U2, U3, U4, U5, U6, U7>
Tuple7<U1, U2, U3, U4, U5, U6, U7> Tuple7.map
(Function7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, Tuple7<U1, U2, U3, U4, U5, U6, U7>> mapper) Maps the components of this tuple using a mapper function.static <T1,
T2, T3, T4, T5, T6, T7, R>
Function7<T1, T2, T3, T4, T5, T6, T7, R> Function7.narrow
(Function7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R> f) Narrows the givenFunction7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R>
toFunction7<T1, T2, T3, T4, T5, T6, T7, R>
static <T1,
T2, T3, T4, T5, T6, T7, R>
Function7<T1, T2, T3, T4, T5, T6, T7, R> <R> Iterator
<R> API.For7.yield
(Function7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R> f) Yields a result for elements of the cross product of the underlying Iterables.<R> Future
<R> API.For7Future.yield
(Function7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R> f) Yields a result for elements of the cross product of the underlying Futures.<R> List
<R> API.For7List.yield
(Function7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R> f) Yields a result for elements of the cross product of the underlying Lists.<R> Option
<R> API.For7Option.yield
(Function7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R> f) Yields a result for elements of the cross product of the underlying Options.<R> Try
<R> API.For7Try.yield
(Function7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R> f) Yields a result for elements of the cross product of the underlying Trys.Modifier and TypeMethodDescriptionCheckedFunction7.recover
(Function<? super Throwable, ? extends Function7<? super T1, ? super T2, ? super T3, ? super T4, ? super T5, ? super T6, ? super T7, ? extends R>> recover) Return a composed function that first applies this CheckedFunction7 to the given arguments and in case of throwable try to get value fromrecover
function with same arguments and throwable information. -
Uses of Function7 in io.vavr.control
Methods in io.vavr.control with parameters of type Function7