Package com.github.tonivade.purefun.core
Interface Function4<A,B,C,D,R>
- Type Parameters:
A- type of first function parameterB- type of second function parameterC- type of third function parameterD- type of fourth function parameterR- type of return value
- All Superinterfaces:
Recoverable
- All Known Subinterfaces:
Operator4<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptiondefault Rcompose(Function1<? super E, ? extends A> beforeT1, Function1<? super E, ? extends B> beforeT2, Function1<? super E, ? extends C> beforeT3, Function1<? super E, ? extends D> beforeT4) static <A,B, C, D, R>
Function4<A, B, C, D, R> cons(R value) curried()static <A,B, C, D>
Function4<A, B, C, D, A> first()static <A,B, C, D>
Function4<A, B, C, D, D> fourth()memoized()static <A,B, C, D>
Function4<A, B, C, D, B> second()static <A,B, C, D>
Function4<A, B, C, D, C> third()tupled()Methods inherited from interface com.github.tonivade.purefun.core.Recoverable
sneakyThrow
-
Method Details
-
apply
-
run
- Throws:
Throwable
-
curried
-
tupled
-
andThen
-
compose
-
memoized
-
cons
-
first
-
second
-
third
-
fourth
-