com.github.markozajc.ef.biconsumer.ObjByteConsumer 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 byte.
*
* @author Marko Zajc
*
* @param
* the type of the first argument to the operation
*/
@FunctionalInterface
public interface ObjByteConsumer {
/**
* Performs this operation on the given arguments.
*
* @param t
* the first input argument
* @param p
* the second ({@code byte}) input argument
*/
void accept(T t, byte p);
}