Uses of Interface
io.vavr.CheckedFunction2
-
Packages that use CheckedFunction2 Package Description io.vavr BesideAPIthe io.vavr package contains core types like (Checked)Functions and Tuples.io.vavr.control io.vavr.test A property check framework built around Property which integrates well with unit test frameworks like junit. -
-
Uses of CheckedFunction2 in io.vavr
Methods in io.vavr that return CheckedFunction2 Modifier and Type Method Description 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 CheckedFunction2<T2,T3,R>CheckedFunction3. apply(T1 t1)Applies this function partially to one argument.default CheckedFunction2<T3,T4,R>CheckedFunction4. apply(T1 t1, T2 t2)Applies this function partially to two arguments.default CheckedFunction2<T4,T5,R>CheckedFunction5. apply(T1 t1, T2 t2, T3 t3)Applies this function partially to three arguments.default CheckedFunction2<T5,T6,R>CheckedFunction6. apply(T1 t1, T2 t2, T3 t3, T4 t4)Applies this function partially to 4 arguments.default CheckedFunction2<T6,T7,R>CheckedFunction7. apply(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5)Applies this function partially to 5 arguments.default CheckedFunction2<T7,T8,R>CheckedFunction8. apply(T1 t1, T2 t2, T3 t3, T4 t4, T5 t5, T6 t6)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)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(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 CheckedFunction2 Modifier and Type Method Description static <T1,T2,R>
CheckedFunction2<T1,T2,R>API. CheckedFunction(CheckedFunction2<T1,T2,R> methodReference)Alias forof(CheckedFunction2)static <T1,T2,R>
Function2<T1,T2,Option<R>>CheckedFunction2. lift(CheckedFunction2<? super T1,? super T2,? extends R> partialFunction)Lifts the givenpartialFunctioninto a total function that returns anOptionresult.static <T1,T2,R>
Function2<T1,T2,Try<R>>CheckedFunction2. liftTry(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(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 CheckedFunction2 Modifier and Type Method Description <R> Try<R>Try.WithResources2. of(CheckedFunction2<? super T1,? super T2,? extends R> f)Wraps the result of a computation that may fail in aTry. -
Uses of CheckedFunction2 in io.vavr.test
Fields in io.vavr.test declared as CheckedFunction2 Modifier and Type Field Description private CheckedFunction2<T1,T2,Property.Condition>Property.Property2. predicateMethods in io.vavr.test with parameters of type CheckedFunction2 Modifier and Type Method Description CheckableProperty.Property2. implies(CheckedFunction2<T1,T2,java.lang.Boolean> postcondition)Returns an implication which composes this Property as pre-condition and a given post-condition.Property.Property2<T1,T2>Property.ForAll2. suchThat(CheckedFunction2<T1,T2,java.lang.Boolean> predicate)Returns a checkable property that checks values of the 2 variables of thisForAllquantor.Constructors in io.vavr.test with parameters of type CheckedFunction2 Constructor Description Property2(java.lang.String name, Arbitrary<T1> a1, Arbitrary<T2> a2, CheckedFunction2<T1,T2,Property.Condition> predicate)
-