summaryrefslogtreecommitdiff
path: root/base/src/main/java/bjc/utils/funcutils/TriConsumer.java
blob: a41cde04dc1a64f794c3f128440685118e197b57 (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
32
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);
}