Uses of Interface
io.vavr.CheckedFunction1
-
Packages that use CheckedFunction1 Package Description io.vavr BesideAPIthe io.vavr package contains core types like (Checked)Functions and Tuples.io.vavr.concurrent This package contains basic building blocks for creating fast, asynchronous, non-blocking parallel code.io.vavr.control io.vavr.test A property check framework built around Property which integrates well with unit test frameworks like junit. -
-
Uses of CheckedFunction1 in io.vavr
Methods in io.vavr that return CheckedFunction1 Modifier and Type Method Description default <V> CheckedFunction1<T1,V>CheckedFunction1. andThen(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>CheckedFunction2. apply(T1 t1)Applies this function partially to one argument.default CheckedFunction1<T3,R>CheckedFunction3. apply(T1 t1, T2 t2)Applies this function partially to two arguments.default CheckedFunction1<T4,R>CheckedFunction4. apply(T1 t1, T2 t2, T3 t3)Applies this function partially to three arguments.default CheckedFunction1<T5,R>CheckedFunction5. apply(T1 t1, T2 t2, T3 t3, T4 t4)Applies this function partially to 4 arguments.default CheckedFunction1<T6,R>CheckedFunction6. apply(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5)Applies this function partially to 5 arguments.default CheckedFunction1<T7,R>CheckedFunction7. apply(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6)Applies this function partially to 6 arguments.default CheckedFunction1<T8,R>CheckedFunction8. apply(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6, T7 t7)Applies this function partially to 7 arguments.static <T1,R>
CheckedFunction1<T1,R>API. CheckedFunction(CheckedFunction1<T1,R> methodReference)Alias forof(CheckedFunction1)default <V> CheckedFunction1<V,R>CheckedFunction1. compose(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.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(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.default CheckedFunction1<Tuple3<T1,T2,T3>,R>CheckedFunction3. tupled()Returns a tupled version of this function.default CheckedFunction1<Tuple4<T1,T2,T3,T4>,R>CheckedFunction4. tupled()Returns a tupled version of this function.default CheckedFunction1<Tuple5<T1,T2,T3,T4,T5>,R>CheckedFunction5. tupled()Returns a tupled version of this function.default CheckedFunction1<Tuple6<T1,T2,T3,T4,T5,T6>,R>CheckedFunction6. tupled()Returns a tupled version of this function.default CheckedFunction1<Tuple7<T1,T2,T3,T4,T5,T6,T7>,R>CheckedFunction7. tupled()Returns a tupled version of this function.default CheckedFunction1<Tuple8<T1,T2,T3,T4,T5,T6,T7,T8>,R>CheckedFunction8. tupled()Returns a tupled version of this function.Methods in io.vavr that return types with arguments of type CheckedFunction1 Modifier and Type Method Description default Function1<T1,CheckedFunction1<T2,R>>CheckedFunction2. curried()Returns a curried version of this function.default Function1<T1,Function1<T2,CheckedFunction1<T3,R>>>CheckedFunction3. curried()Returns a curried version of this function.default Function1<T1,Function1<T2,Function1<T3,CheckedFunction1<T4,R>>>>CheckedFunction4. curried()Returns a curried version of this function.default Function1<T1,Function1<T2,Function1<T3,Function1<T4,CheckedFunction1<T5,R>>>>>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 CheckedFunction1 Modifier and Type Method Description default <V> CheckedFunction0<V>CheckedFunction0. andThen(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(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(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(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(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.default <V> CheckedFunction5<T1,T2,T3,T4,T5,V>CheckedFunction5. andThen(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.default <V> CheckedFunction6<T1,T2,T3,T4,T5,T6,V>CheckedFunction6. andThen(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.default <V> CheckedFunction7<T1,T2,T3,T4,T5,T6,T7,V>CheckedFunction7. andThen(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.default <V> CheckedFunction8<T1,T2,T3,T4,T5,T6,T7,T8,V>CheckedFunction8. andThen(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 forof(CheckedFunction1)default <V> CheckedFunction1<V,R>CheckedFunction1. compose(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.static <T1,R>
Function1<T1,Option<R>>CheckedFunction1. lift(CheckedFunction1<? super T1,? extends R> partialFunction)Lifts the givenpartialFunctioninto a total function that returns anOptionresult.static <T1,R>
Function1<T1,Try<R>>CheckedFunction1. liftTry(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(CheckedFunction1<T1,R> methodReference)static <T1,R>
Function1<T1,R>API. unchecked(CheckedFunction1<T1,R> f)Alias forunchecked() -
Uses of CheckedFunction1 in io.vavr.concurrent
Methods in io.vavr.concurrent with parameters of type CheckedFunction1 Modifier and Type Method Description default <U> Future<U>Future. flatMapTry(CheckedFunction1<? super T,? extends Future<? extends U>> mapper)default <U> Future<U>Future. mapTry(CheckedFunction1<? super T,? extends U> mapper) -
Uses of CheckedFunction1 in io.vavr.control
Methods in io.vavr.control with parameters of type CheckedFunction1 Modifier and Type Method Description default Try<T>Try. filterTry(CheckedPredicate<? super T> predicate, CheckedFunction1<? super T,? extends java.lang.Throwable> errorProvider)Returnsthisif this is a Failure or this is a Success and the value satisfies the predicate.default <U> Try<U>Try. flatMapTry(CheckedFunction1<? super T,? extends Try<? extends U>> mapper)FlatMaps the value of a Success or returns a Failure.default <U> Try<U>Try. mapTry(CheckedFunction1<? super T,? extends U> mapper)Runs the given checked function if this is aTry.Success, passing the result of the current expression to it.<R> Try<R>Try.WithResources1. of(CheckedFunction1<? super T1,? extends R> f)Wraps the result of a computation that may fail in aTry. -
Uses of CheckedFunction1 in io.vavr.test
Fields in io.vavr.test declared as CheckedFunction1 Modifier and Type Field Description private CheckedFunction1<T1,Property.Condition>Property.Property1. predicateMethods in io.vavr.test with parameters of type CheckedFunction1 Modifier and Type Method Description CheckableProperty.Property1. implies(CheckedFunction1<T1,java.lang.Boolean> postcondition)Returns an implication which composes this Property as pre-condition and a given post-condition.Property.Property1<T1>Property.ForAll1. suchThat(CheckedFunction1<T1,java.lang.Boolean> predicate)Returns a checkable property that checks values of the 1 variables of thisForAllquantor.Constructors in io.vavr.test with parameters of type CheckedFunction1 Constructor Description Property1(java.lang.String name, Arbitrary<T1> a1, CheckedFunction1<T1,Property.Condition> predicate)
-