forked from functionaljava/functionaljava
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathF4.java
More file actions
20 lines (19 loc) · 685 Bytes
/
F4.java
File metadata and controls
20 lines (19 loc) · 685 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package fj;
/**
* A transformation function of arity-4 from <code>A</code>, <code>B</code>, <code>C</code> and
* <code>D</code> to <code>E</code>. This type can be represented using the Java 7 closure syntax.
*
* @version %build.number%
*/
public abstract class F4<A, B, C, D, E> {
/**
* Transform <code>A</code>, <code>B</code>, <code>C</code> and <code>D</code> to <code>E</code>.
*
* @param a The <code>A</code> to transform.
* @param b The <code>B</code> to transform.
* @param c The <code>C</code> to transform.
* @param d The <code>D</code> to transform.
* @return The result of the transformation.
*/
public abstract E f(A a, B b, C c, D d);
}