Uses of Interface
io.vavr.CheckedFunction1
Packages that use CheckedFunction1
Package
Description
Beside
API the io.vavr package contains core types like (Checked)Functions and Tuples.This package contains basic building blocks for creating fast, asynchronous, non-blocking parallel code.
-
Uses of CheckedFunction1 in io.vavr
Methods in io.vavr that return CheckedFunction1Modifier and TypeMethodDescriptiondefault <V> CheckedFunction1<T1, V> CheckedFunction1.andThen(@NonNull CheckedFunction1<? super R, ? extends V> after) Returns a composed function that first applies this CheckedFunction1 to the given argument and then applies CheckedFunction1afterto the result.default CheckedFunction1<T2, R> Applies this function partially to one argument.default CheckedFunction1<T3, R> Applies this function partially to two arguments.default CheckedFunction1<T4, R> Applies this function partially to three arguments.default CheckedFunction1<T5, R> Applies this function partially to 4 arguments.default CheckedFunction1<T6, R> Applies this function partially to 5 arguments.default CheckedFunction1<T7, R> Applies this function partially to 6 arguments.default CheckedFunction1<T8, R> Applies this function partially to 7 arguments.static <T1,R> CheckedFunction1 <T1, R> API.CheckedFunction(CheckedFunction1<T1, R> methodReference) Alias forCheckedFunction1.of(CheckedFunction1)default <V> CheckedFunction1<V, R> CheckedFunction1.compose(@NonNull CheckedFunction1<? super V, ? extends T1> before) Returns a composed function that first applies the CheckedFunction1beforethe given argument and then applies this CheckedFunction1 to the result.default <S> CheckedFunction1<S, R> Returns a composed function that first applies the Functionbeforeto the 1st argument and then applies this CheckedFunction1 to the result.static <T1,R> CheckedFunction1 <T1, R> CheckedFunction1.constant(R value) Returns a function that always returns the constant value that you give in parameter.default CheckedFunction1<T1, R> CheckedFunction1.curried()Returns a curried version of this function.static <T> CheckedFunction1<T, T> CheckedFunction1.identity()Returns the identity CheckedFunction1, i.e.default CheckedFunction1<T1, R> CheckedFunction1.memoized()Returns a memoizing version of this function, which computes the return value for given arguments only one time.static <T1,R> CheckedFunction1 <T1, R> CheckedFunction1.narrow(CheckedFunction1<? super T1, ? extends R> f) Narrows the givenCheckedFunction1<? super T1, ? extends R>toCheckedFunction1<T1, R>static <T1,R> CheckedFunction1 <T1, R> CheckedFunction1.of(@NonNull CheckedFunction1<T1, R> methodReference) default CheckedFunction1<T1, R> CheckedFunction1.reversed()Returns a reversed version of this function.default CheckedFunction1<Tuple0, R> CheckedFunction0.tupled()Returns a tupled version of this function.default CheckedFunction1<Tuple1<T1>, R> CheckedFunction1.tupled()Returns a tupled version of this function.default CheckedFunction1<Tuple2<T1, T2>, R> CheckedFunction2.tupled()Returns a tupled version of this function.CheckedFunction3.tupled()Returns a tupled version of this function.CheckedFunction4.tupled()Returns a tupled version of this function.CheckedFunction5.tupled()Returns a tupled version of this function.CheckedFunction6.tupled()Returns a tupled version of this function.CheckedFunction7.tupled()Returns a tupled version of this function.CheckedFunction8.tupled()Returns a tupled version of this function.Methods in io.vavr that return types with arguments of type CheckedFunction1Modifier and TypeMethodDescriptiondefault Function1<T1, CheckedFunction1<T2, R>> CheckedFunction2.curried()Returns a curried version of this function.CheckedFunction3.curried()Returns a curried version of this function.CheckedFunction4.curried()Returns a curried version of this function.CheckedFunction5.curried()Returns a curried version of this function.default Function1<T1, Function1<T2, Function1<T3, Function1<T4, Function1<T5, CheckedFunction1<T6, R>>>>>> CheckedFunction6.curried()Returns a curried version of this function.default Function1<T1, Function1<T2, Function1<T3, Function1<T4, Function1<T5, Function1<T6, CheckedFunction1<T7, R>>>>>>> CheckedFunction7.curried()Returns a curried version of this function.default Function1<T1, Function1<T2, Function1<T3, Function1<T4, Function1<T5, Function1<T6, Function1<T7, CheckedFunction1<T8, R>>>>>>>> CheckedFunction8.curried()Returns a curried version of this function.Methods in io.vavr with parameters of type CheckedFunction1Modifier and TypeMethodDescriptiondefault <V> CheckedFunction0<V> CheckedFunction0.andThen(@NonNull CheckedFunction1<? super R, ? extends V> after) Returns a composed function that first applies this CheckedFunction0 to the given argument and then applies CheckedFunction1afterto the result.default <V> CheckedFunction1<T1, V> CheckedFunction1.andThen(@NonNull CheckedFunction1<? super R, ? extends V> after) Returns a composed function that first applies this CheckedFunction1 to the given argument and then applies CheckedFunction1afterto the result.default <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 <V> CheckedFunction3<T1, T2, T3, V> CheckedFunction3.andThen(@NonNull CheckedFunction1<? super R, ? extends V> after) Returns a composed function that first applies this CheckedFunction3 to the given argument and then applies CheckedFunction1afterto the result.default <V> CheckedFunction4<T1, T2, T3, T4, V> CheckedFunction4.andThen(@NonNull CheckedFunction1<? super R, ? extends V> after) Returns a composed function that first applies this CheckedFunction4 to the given argument and then applies CheckedFunction1afterto the result.CheckedFunction5.andThen(@NonNull CheckedFunction1<? super R, ? extends V> after) Returns a composed function that first applies this CheckedFunction5 to the given argument and then applies CheckedFunction1afterto the result.CheckedFunction6.andThen(@NonNull CheckedFunction1<? super R, ? extends V> after) Returns a composed function that first applies this CheckedFunction6 to the given argument and then applies CheckedFunction1afterto the result.CheckedFunction7.andThen(@NonNull CheckedFunction1<? super R, ? extends V> after) Returns a composed function that first applies this CheckedFunction7 to the given argument and then applies CheckedFunction1afterto the result.CheckedFunction8.andThen(@NonNull CheckedFunction1<? super R, ? extends V> after) Returns a composed function that first applies this CheckedFunction8 to the given argument and then applies CheckedFunction1afterto the result.static <T1,R> CheckedFunction1 <T1, R> API.CheckedFunction(CheckedFunction1<T1, R> methodReference) Alias forCheckedFunction1.of(CheckedFunction1)default <V> CheckedFunction1<V, R> CheckedFunction1.compose(@NonNull CheckedFunction1<? super V, ? extends T1> before) Returns a composed function that first applies the CheckedFunction1beforethe given argument and then applies this CheckedFunction1 to the result.CheckedFunction1.lift(@NonNull CheckedFunction1<? super T1, ? extends R> partialFunction) Lifts the givenpartialFunctioninto a total function that returns anOptionresult.CheckedFunction1.liftTry(@NonNull CheckedFunction1<? super T1, ? extends R> partialFunction) Lifts the givenpartialFunctioninto a total function that returns anTryresult.static <T1,R> CheckedFunction1 <T1, R> CheckedFunction1.narrow(CheckedFunction1<? super T1, ? extends R> f) Narrows the givenCheckedFunction1<? super T1, ? extends R>toCheckedFunction1<T1, R>static <T1,R> CheckedFunction1 <T1, R> CheckedFunction1.of(@NonNull CheckedFunction1<T1, R> methodReference) static <T1,R> Function1 <T1, R> API.unchecked(CheckedFunction1<T1, R> f) Alias forCheckedFunction1.unchecked() -
Uses of CheckedFunction1 in io.vavr.concurrent
Methods in io.vavr.concurrent with parameters of type CheckedFunction1Modifier and TypeMethodDescriptiondefault <U> Future<U> Future.flatMapTry(@NonNull CheckedFunction1<? super T, ? extends Future<? extends U>> mapper) Transforms the value of thisFutureusing the givenCheckedFunction1if it completes successfully, or returns aFuturewith the failure if thisFuturefails.default <U> Future<U> Future.mapTry(@NonNull CheckedFunction1<? super T, ? extends U> mapper) Maps the value of thisFutureto a new value using the givenCheckedFunction1if it completes successfully. -
Uses of CheckedFunction1 in io.vavr.control
Methods in io.vavr.control with parameters of type CheckedFunction1Modifier and TypeMethodDescriptionTry.filterTry(@NonNull CheckedPredicate<? super T> predicate, CheckedFunction1<? super T, ? extends Throwable> errorProvider) Returnsthisif thisTryis aTry.Failureor if it is aTry.Successand the value satisfies the given checked predicate.default <U> Try<U> Try.flatMapTry(@NonNull CheckedFunction1<? super T, ? extends Try<? extends U>> mapper) Transforms the value of thisTryusing the givenCheckedFunction1if it is aTry.Success, or returns thisTry.Failure.default <U> Try<U> Option.mapTry(@NonNull CheckedFunction1<? super T, ? extends U> mapper) Converts thisOptionto aTry, then applies the given checked function if this is aTry.Success, passing the contained value to it.default <U> Try<U> Try.mapTry(@NonNull CheckedFunction1<? super T, ? extends U> mapper) Applies the given checked function to the value of thisTry.Success, or returns thisTry.Failureunchanged.<R> Try<R> Try.WithResources1.of(@NonNull CheckedFunction1<? super T1, ? extends R> f) Wraps the result of a computation that may fail in aTry.