Uses of Interface
io.vavr.CheckedFunction4
-
Packages that use CheckedFunction4 Package Description io.vavr BesideAPI
the 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 CheckedFunction4 in io.vavr
Methods in io.vavr that return CheckedFunction4 Modifier and Type Method Description 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 CheckedFunction1after
to the result.default CheckedFunction4<T2,T3,T4,T5,R>
CheckedFunction5. apply(T1 t1)
Applies this function partially to one argument.default CheckedFunction4<T3,T4,T5,T6,R>
CheckedFunction6. apply(T1 t1, T2 t2)
Applies this function partially to two arguments.default CheckedFunction4<T4,T5,T6,T7,R>
CheckedFunction7. apply(T1 t1, T2 t2, T3 t3)
Applies this function partially to three arguments.default CheckedFunction4<T5,T6,T7,T8,R>
CheckedFunction8. apply(T1 t1, T2 t2, T3 t3, T4 t4)
Applies this function partially to 4 arguments.static <T1,T2,T3,T4,R>
CheckedFunction4<T1,T2,T3,T4,R>API. CheckedFunction(CheckedFunction4<T1,T2,T3,T4,R> methodReference)
Alias forof(CheckedFunction4)
static <T1,T2,T3,T4,R>
CheckedFunction4<T1,T2,T3,T4,R>CheckedFunction4. constant(R value)
Returns a function that always returns the constant value that you give in parameter.default CheckedFunction4<T1,T2,T3,T4,R>
CheckedFunction4. memoized()
Returns a memoizing version of this function, which computes the return value for given arguments only one time.static <T1,T2,T3,T4,R>
CheckedFunction4<T1,T2,T3,T4,R>CheckedFunction4. narrow(CheckedFunction4<? super T1,? super T2,? super T3,? super T4,? extends R> f)
Narrows the givenCheckedFunction4<? super T1, ? super T2, ? super T3, ? super T4, ? extends R>
toCheckedFunction4<T1, T2, T3, T4, R>
static <T1,T2,T3,T4,R>
CheckedFunction4<T1,T2,T3,T4,R>CheckedFunction4. of(CheckedFunction4<T1,T2,T3,T4,R> methodReference)
default CheckedFunction4<T4,T3,T2,T1,R>
CheckedFunction4. reversed()
Returns a reversed version of this function.Methods in io.vavr with parameters of type CheckedFunction4 Modifier and Type Method Description static <T1,T2,T3,T4,R>
CheckedFunction4<T1,T2,T3,T4,R>API. CheckedFunction(CheckedFunction4<T1,T2,T3,T4,R> methodReference)
Alias forof(CheckedFunction4)
static <T1,T2,T3,T4,R>
Function4<T1,T2,T3,T4,Option<R>>CheckedFunction4. lift(CheckedFunction4<? super T1,? super T2,? super T3,? super T4,? extends R> partialFunction)
Lifts the givenpartialFunction
into a total function that returns anOption
result.static <T1,T2,T3,T4,R>
Function4<T1,T2,T3,T4,Try<R>>CheckedFunction4. liftTry(CheckedFunction4<? super T1,? super T2,? super T3,? super T4,? extends R> partialFunction)
Lifts the givenpartialFunction
into a total function that returns anTry
result.static <T1,T2,T3,T4,R>
CheckedFunction4<T1,T2,T3,T4,R>CheckedFunction4. narrow(CheckedFunction4<? super T1,? super T2,? super T3,? super T4,? extends R> f)
Narrows the givenCheckedFunction4<? super T1, ? super T2, ? super T3, ? super T4, ? extends R>
toCheckedFunction4<T1, T2, T3, T4, R>
static <T1,T2,T3,T4,R>
CheckedFunction4<T1,T2,T3,T4,R>CheckedFunction4. of(CheckedFunction4<T1,T2,T3,T4,R> methodReference)
static <T1,T2,T3,T4,R>
Function4<T1,T2,T3,T4,R>API. unchecked(CheckedFunction4<T1,T2,T3,T4,R> f)
Alias forunchecked()
-
Uses of CheckedFunction4 in io.vavr.control
Methods in io.vavr.control with parameters of type CheckedFunction4 Modifier and Type Method Description <R> Try<R>
Try.WithResources4. of(CheckedFunction4<? super T1,? super T2,? super T3,? super T4,? extends R> f)
Wraps the result of a computation that may fail in aTry
. -
Uses of CheckedFunction4 in io.vavr.test
Fields in io.vavr.test declared as CheckedFunction4 Modifier and Type Field Description private CheckedFunction4<T1,T2,T3,T4,Property.Condition>
Property.Property4. predicate
Methods in io.vavr.test with parameters of type CheckedFunction4 Modifier and Type Method Description Checkable
Property.Property4. implies(CheckedFunction4<T1,T2,T3,T4,java.lang.Boolean> postcondition)
Returns an implication which composes this Property as pre-condition and a given post-condition.Property.Property4<T1,T2,T3,T4>
Property.ForAll4. suchThat(CheckedFunction4<T1,T2,T3,T4,java.lang.Boolean> predicate)
Returns a checkable property that checks values of the 4 variables of thisForAll
quantor.Constructors in io.vavr.test with parameters of type CheckedFunction4 Constructor Description Property4(java.lang.String name, Arbitrary<T1> a1, Arbitrary<T2> a2, Arbitrary<T3> a3, Arbitrary<T4> a4, CheckedFunction4<T1,T2,T3,T4,Property.Condition> predicate)
-