-
- Type Parameters:
A
- first argument typeB
- second argument type
- All Superinterfaces:
Functions.Consumer<A>
- All Known Subinterfaces:
Functions.QuadriConsumer<A,B,C,D>
,Functions.TriConsumer<A,B,C>
- All Known Implementing Classes:
Callback.Once
,Snapshot.ModuleAwareBiConsumer
- Enclosing class:
- Functions
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface Functions.BiConsumer<A,B> extends Functions.Consumer<A>
Represents an operation that accepts two input arguments and returns no result.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
accept(A a)
Performs this operation on the given argument.void
accept(A a, B b)
Performs this operation on the given arguments.
-
-
-
Method Detail
-
accept
default void accept(A a) throws java.lang.Exception
Description copied from interface:Functions.Consumer
Performs this operation on the given argument.- Specified by:
accept
in interfaceFunctions.Consumer<A>
- Parameters:
a
- the input argument- Throws:
java.lang.Exception
- if an error happens
-
-