Uses of Interface
io.vavr.Function4
-
Packages that use Function4 Package Description io.vavr BesideAPI
the io.vavr package contains core types like (Checked)Functions and Tuples.io.vavr.control -
-
Uses of Function4 in io.vavr
Fields in io.vavr declared as Function4 Modifier and Type Field Description private Function4<? super T1,? super T2,? super T3,? super T4,? extends R>
API.Match.Case4. f
Methods in io.vavr that return Function4 Modifier and Type Method Description default <V> Function4<T1,T2,T3,T4,V>
Function4. andThen(java.util.function.Function<? super R,? extends V> after)
Returns a composed function that first applies this Function4 to the given argument and then applies Functionafter
to the result.default Function4<T2,T3,T4,T5,R>
Function5. apply(T1 t1)
Applies this function partially to one argument.default Function4<T3,T4,T5,T6,R>
Function6. apply(T1 t1, T2 t2)
Applies this function partially to two arguments.default Function4<T4,T5,T6,T7,R>
Function7. apply(T1 t1, T2 t2, T3 t3)
Applies this function partially to three arguments.default Function4<T5,T6,T7,T8,R>
Function8. apply(T1 t1, T2 t2, T3 t3, T4 t4)
Applies this function partially to 4 arguments.static <T1,T2,T3,T4,R>
Function4<T1,T2,T3,T4,R>Function4. constant(R value)
Returns a function that always returns the constant value that you give in parameter.static <T1,T2,T3,T4,R>
Function4<T1,T2,T3,T4,R>API. Function(Function4<T1,T2,T3,T4,R> methodReference)
Alias forof(Function4)
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,Option<R>>Function4. lift(Function4<? 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>
Function4<T1,T2,T3,T4,Try<R>>Function4. liftTry(Function4<? super T1,? super T2,? super T3,? super T4,? extends R> partialFunction)
Lifts the givenpartialFunction
into a total function that returns anTry
result.default Function4<T1,T2,T3,T4,R>
Function4. 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>
Function4<T1,T2,T3,T4,R>Function4. narrow(Function4<? super T1,? super T2,? super T3,? super T4,? extends R> f)
Narrows the givenFunction4<? super T1, ? super T2, ? super T3, ? super T4, ? extends R>
toFunction4<T1, T2, T3, T4, R>
static <T1,T2,T3,T4,R>
Function4<T1,T2,T3,T4,R>Function4. of(Function4<T1,T2,T3,T4,R> methodReference)
default Function4<T1,T2,T3,T4,R>
CheckedFunction4. recover(java.util.function.Function<? super java.lang.Throwable,? extends Function4<? super T1,? super T2,? super T3,? super T4,? extends R>> recover)
Return a composed function that first applies this CheckedFunction4 to the given arguments and in case of throwable try to get value fromrecover
function with same arguments and throwable information.default Function4<T4,T3,T2,T1,R>
Function4. reversed()
Returns a reversed version of this function.static <T1,T2,T3,T4,R>
Function4<T1,T2,T3,T4,R>API. unchecked(CheckedFunction4<T1,T2,T3,T4,R> f)
Alias forCheckedFunction4.unchecked()
default Function4<T1,T2,T3,T4,R>
CheckedFunction4. unchecked()
Returns an unchecked function that will sneaky throw if an exceptions occurs when applying the function.Methods in io.vavr with parameters of type Function4 Modifier and Type Method Description <U> U
Tuple4. apply(Function4<? super T1,? super T2,? super T3,? super T4,? extends U> f)
Transforms this tuple to an object of type U.static <T,T1,T2,T3,T4,R>
API.Match.Case<T,R>API. Case(API.Match.Pattern4<T,T1,T2,T3,T4> pattern, Function4<? super T1,? super T2,? super T3,? super T4,? extends R> f)
static <T1,T2,T3,T4,R>
Function4<T1,T2,T3,T4,R>API. Function(Function4<T1,T2,T3,T4,R> methodReference)
Alias forof(Function4)
static <T1,T2,T3,T4,R>
Function4<T1,T2,T3,T4,Option<R>>Function4. lift(Function4<? 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>>Function4. liftTry(Function4<? super T1,? super T2,? super T3,? super T4,? extends R> partialFunction)
Lifts the givenpartialFunction
into a total function that returns anTry
result.<U1,U2,U3,U4>
Tuple4<U1,U2,U3,U4>Tuple4. map(Function4<? super T1,? super T2,? super T3,? super T4,Tuple4<U1,U2,U3,U4>> mapper)
Maps the components of this tuple using a mapper function.static <T1,T2,T3,T4,R>
Function4<T1,T2,T3,T4,R>Function4. narrow(Function4<? super T1,? super T2,? super T3,? super T4,? extends R> f)
Narrows the givenFunction4<? super T1, ? super T2, ? super T3, ? super T4, ? extends R>
toFunction4<T1, T2, T3, T4, R>
static <T1,T2,T3,T4,R>
Function4<T1,T2,T3,T4,R>Function4. of(Function4<T1,T2,T3,T4,R> methodReference)
<R> Iterator<R>
API.For4. yield(Function4<? super T1,? super T2,? super T3,? super T4,? extends R> f)
Yields a result for elements of the cross product of the underlying Iterables.<R> Future<R>
API.For4Future. yield(Function4<? super T1,? super T2,? super T3,? super T4,? extends R> f)
Yields a result for elements of the cross product of the underlying Futures.<R> List<R>
API.For4List. yield(Function4<? super T1,? super T2,? super T3,? super T4,? extends R> f)
Yields a result for elements of the cross product of the underlying Lists.<R> Option<R>
API.For4Option. yield(Function4<? super T1,? super T2,? super T3,? super T4,? extends R> f)
Yields a result for elements of the cross product of the underlying Options.<R> Try<R>
API.For4Try. yield(Function4<? super T1,? super T2,? super T3,? super T4,? extends R> f)
Yields a result for elements of the cross product of the underlying Trys.Method parameters in io.vavr with type arguments of type Function4 Modifier and Type Method Description default Function4<T1,T2,T3,T4,R>
CheckedFunction4. recover(java.util.function.Function<? super java.lang.Throwable,? extends Function4<? super T1,? super T2,? super T3,? super T4,? extends R>> recover)
Return a composed function that first applies this CheckedFunction4 to the given arguments and in case of throwable try to get value fromrecover
function with same arguments and throwable information.Constructors in io.vavr with parameters of type Function4 Constructor Description Case4(API.Match.Pattern4<T,T1,T2,T3,T4> pattern, Function4<? super T1,? super T2,? super T3,? super T4,? extends R> f)
-
Uses of Function4 in io.vavr.control
Methods in io.vavr.control with parameters of type Function4 Modifier and Type Method Description <R> Validation<Seq<E>,R>
Validation.Builder4. ap(Function4<T1,T2,T3,T4,R> f)
-