summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/funcutils/TriConsumer.java
blob: f30386c465c817e714d9538d444e7f14947acfe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package bjc.utils.funcutils;

/**
 * Consumer that takes three arguments.
 *
 * @author EVE
 *
 * @param <A>
 *                Type of the first argument.
 * @param <B>
 *                Type of the second argument.
 * @param <C>
 *                Type of the third argument.
 *
 */
@FunctionalInterface
public interface TriConsumer<A, B, C> {
	/**
	 * Perform the action.
	 *
	 * @param a
	 *                The first parameter.
	 *
	 * @param b
	 *                The second parameter.
	 *
	 * @param c
	 *                The third parameter.
	 */
	public void accept(A a, B b, C c);
}