Uses of Interface
io.vavr.Function3
Packages that use Function3
Package
Description
Beside
API the io.vavr package contains core types like (Checked)Functions and Tuples.-
Uses of Function3 in io.vavr
Modifier and TypeMethodDescriptionReturns a composed function that first applies this Function3 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.Applies this function partially to 4 arguments.Applies this function partially to 5 arguments.static <T1,T2, T3, R>
Function3<T1, T2, T3, R> Function3.constant(R value) Returns a function that always returns the constant value that you give in parameter.static <T1,T2, T3, R>
Function3<T1, T2, T3, R> Alias forof(Function3)CheckedFunction3.lift(CheckedFunction3<? super T1, ? super T2, ? super T3, ? extends R> partialFunction) Lifts the givenpartialFunctioninto a total function that returns anOptionresult.Lifts the givenpartialFunctioninto a total function that returns anOptionresult.CheckedFunction3.liftTry(CheckedFunction3<? super T1, ? super T2, ? super T3, ? extends R> partialFunction) Lifts the givenpartialFunctioninto a total function that returns anTryresult.Lifts the givenpartialFunctioninto a total function that returns anTryresult.Function3.memoized()Returns a memoizing version of this function, which computes the return value for given arguments only one time.static <T1,T2, T3, R>
Function3<T1, T2, T3, R> Narrows the givenFunction3<? super T1, ? super T2, ? super T3, ? extends R>toFunction3<T1, T2, T3, R>static <T1,T2, T3, R>
Function3<T1, T2, T3, R> Creates aFunction3based on method reference lambda expression Examples (w.l.o.g. referring to Function1):CheckedFunction3.recover(Function<? super Throwable, ? extends Function3<? super T1, ? super T2, ? super T3, ? extends R>> recover) Return a composed function that first applies this CheckedFunction3 to the given arguments and in case of throwable try to get value fromrecoverfunction with same arguments and throwable information.Function3.reversed()Returns a reversed version of this function.static <T1,T2, T3, R>
Function3<T1, T2, T3, R> API.unchecked(CheckedFunction3<T1, T2, T3, R> f) Alias forCheckedFunction3.unchecked()CheckedFunction3.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, R>
API.Match.Case<T, R> API.Case(API.Match.Pattern3<T, T1, T2, T3> pattern, Function3<? super T1, ? super T2, ? super T3, ? extends R> f) static <T1,T2, T3, R>
Function3<T1, T2, T3, R> Alias forof(Function3)Lifts the givenpartialFunctioninto a total function that returns anOptionresult.Lifts the givenpartialFunctioninto a total function that returns anTryresult.<U1,U2, U3>
Tuple3<U1, U2, U3> Maps the components of this tuple using a mapper function.static <T1,T2, T3, R>
Function3<T1, T2, T3, R> Narrows the givenFunction3<? super T1, ? super T2, ? super T3, ? extends R>toFunction3<T1, T2, T3, R>static <T1,T2, T3, R>
Function3<T1, T2, T3, R> Creates aFunction3based on method reference lambda expression Examples (w.l.o.g. referring to Function1):<R> Iterator<R> Yields a result for elements of the cross product of the underlying Iterables.<R> Future<R> 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> 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 TypeMethodDescriptionCheckedFunction3.recover(Function<? super Throwable, ? extends Function3<? super T1, ? super T2, ? super T3, ? extends R>> recover) Return a composed function that first applies this CheckedFunction3 to the given arguments and in case of throwable try to get value fromrecoverfunction with same arguments and throwable information. -
Uses of Function3 in io.vavr.control
Methods in io.vavr.control with parameters of type Function3