-
- Type Parameters:
A
- first argument type
- All Known Subinterfaces:
Functions.BiConsumer<A,B>
,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.Consumer<A>
Represents an operation that accepts one input argument and returns no result.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(A a)
Performs this operation on the given argument.
-
-
-
Method Detail
-
accept
void accept(A a) throws java.lang.Exception
Performs this operation on the given argument.- Parameters:
a
- the input argument- Throws:
java.lang.Exception
- if an error happens
-
-