Uses of Interface
io.vavr.CheckedFunction2
Packages that use CheckedFunction2
Package
Description
Beside
API the io.vavr package contains core types like (Checked)Functions and Tuples.-
Uses of CheckedFunction2 in io.vavr
Methods in io.vavr that return CheckedFunction2Modifier and TypeMethodDescriptiondefault <V> CheckedFunction2<T1, T2, V> CheckedFunction2.andThen(@NonNull CheckedFunction1<? super R, ? extends V> after) Returns a composed function that first applies this CheckedFunction2 to the given argument and then applies CheckedFunction1afterto the result.default CheckedFunction2<T2, T3, R> Applies this function partially to one argument.default CheckedFunction2<T3, T4, R> Applies this function partially to two arguments.default CheckedFunction2<T4, T5, R> Applies this function partially to three arguments.default CheckedFunction2<T5, T6, R> Applies this function partially to 4 arguments.default CheckedFunction2<T6, T7, R> Applies this function partially to 5 arguments.default CheckedFunction2<T7, T8, R> Applies this function partially to 6 arguments.static <T1,T2, R>
CheckedFunction2<T1, T2, R> API.CheckedFunction(CheckedFunction2<T1, T2, R> methodReference) Alias forof(CheckedFunction2)default <S> CheckedFunction2<S, T2, R> Returns a composed function that first applies the Functionbeforeto the 1st argument and then applies this CheckedFunction2 to the result and the other argument.default <S> CheckedFunction2<T1, S, R> Returns a composed function that first applies the Functionbeforeto the 2nd argument and then applies this CheckedFunction2 to the result and the other argument.static <T1,T2, R>
CheckedFunction2<T1, T2, R> CheckedFunction2.constant(R value) Returns a function that always returns the constant value that you give in parameter.default CheckedFunction2<T1, T2, R> CheckedFunction2.memoized()Returns a memoizing version of this function, which computes the return value for given arguments only one time.static <T1,T2, R>
CheckedFunction2<T1, T2, R> CheckedFunction2.narrow(CheckedFunction2<? super T1, ? super T2, ? extends R> f) Narrows the givenCheckedFunction2<? super T1, ? super T2, ? extends R>toCheckedFunction2<T1, T2, R>static <T1,T2, R>
CheckedFunction2<T1, T2, R> CheckedFunction2.of(@NonNull CheckedFunction2<T1, T2, R> methodReference) default CheckedFunction2<T2, T1, R> CheckedFunction2.reversed()Returns a reversed version of this function.Methods in io.vavr with parameters of type CheckedFunction2Modifier and TypeMethodDescriptionstatic <T1,T2, R>
CheckedFunction2<T1, T2, R> API.CheckedFunction(CheckedFunction2<T1, T2, R> methodReference) Alias forof(CheckedFunction2)CheckedFunction2.lift(@NonNull CheckedFunction2<? super T1, ? super T2, ? extends R> partialFunction) Lifts the givenpartialFunctioninto a total function that returns anOptionresult.CheckedFunction2.liftTry(@NonNull CheckedFunction2<? super T1, ? super T2, ? extends R> partialFunction) Lifts the givenpartialFunctioninto a total function that returns anTryresult.static <T1,T2, R>
CheckedFunction2<T1, T2, R> CheckedFunction2.narrow(CheckedFunction2<? super T1, ? super T2, ? extends R> f) Narrows the givenCheckedFunction2<? super T1, ? super T2, ? extends R>toCheckedFunction2<T1, T2, R>static <T1,T2, R>
CheckedFunction2<T1, T2, R> CheckedFunction2.of(@NonNull CheckedFunction2<T1, T2, R> methodReference) static <T1,T2, R>
Function2<T1, T2, R> API.unchecked(CheckedFunction2<T1, T2, R> f) Alias forunchecked() -
Uses of CheckedFunction2 in io.vavr.control
Methods in io.vavr.control with parameters of type CheckedFunction2Modifier and TypeMethodDescription<R> Try<R> Try.WithResources2.of(@NonNull CheckedFunction2<? super T1, ? super T2, ? extends R> f) Wraps the result of a computation that may fail in aTry.