com.github.markozajc.ef.biconsumer.ObjShortConsumer Maven / Gradle / Ivy
package com.github.markozajc.ef.biconsumer;
import java.util.function.BiConsumer;
/**
* A {@link BiConsumer} variant that takes a generic type and a primitive short.
*
* @author Marko Zajc
*
* @param
* the type of the first argument to the operation
*/
@FunctionalInterface
public interface ObjShortConsumer {
/**
* Performs this operation on the given arguments.
*
* @param t
* the first input argument
* @param p
* the second ({@code short}) input argument
*/
void accept(T t, short p);
}