com.koloboke.function
Interface BiConsumer<T,U>
- Type Parameters:
T
- the type of the first argument to the operationU
- the type of the second argument to the operation
public interface BiConsumer<T,U>
Represents an operation that accepts two input arguments and returns no
result. This is the two-arity specialization of Consumer
.
Unlike most other functional interfaces, BiConsumer
is expected
to operate via side-effects.
- See Also:
Consumer
Method Summary |
void |
accept(T t,
U u)
Performs this operation on the given arguments. |
accept
void accept(T t,
U u)
- Performs this operation on the given arguments.
- Parameters:
t
- the first input argumentu
- the second input argument