blob: f9747d73bdd2693d8ecf18182773968094cfa1c9 (
plain) (
blame)
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
|
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 <T>
* the type of the first argument to the operation
*/
@FunctionalInterface
public interface ObjByteConsumer<T> {
/**
* 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);
}
|