com.github.markozajc.ef.triconsumer.TriConsumer Maven / Gradle / Ivy
package com.github.markozajc.ef.triconsumer;
import java.util.function.Consumer;
/**
* A {@link Consumer} variant that takes three generic types.
*
* @author Marko Zajc
*
* @param
* the type of the first argument to the operation
* @param
* the type of the second argument to the operation
* @param
* the type of the third argument to the operation
*/
@FunctionalInterface
public interface TriConsumer {
/**
* Performs this operation on the given arguments.
*
* @param t
* the first input argument
* @param u
* the second input argument
* @param v
* the third input argument
*/
void accept(T t, U u, V v);
}