Interface Consumer<T>
- Type Parameters:
T
- the type of the input argument
- All Superinterfaces:
Operation
,Serializable
- All Known Implementing Classes:
PrintConsumer
Represents an operation that accepts a single input argument and returns no result.
-
Method Summary
-
Method Details
-
accept
Performs an operation on the given argument.- Parameters:
input
- the input
-