Package io.openems.common.function
Interface BooleanConsumer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This interface is similar to the java.util interface
Consumer
.
Difference is, that it limits the type to a primitive, non-nullable boolean.-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(boolean value) Performs this operation on the given argument.
-
Method Details
-
accept
void accept(boolean value) Performs this operation on the given argument.- Parameters:
value
- the input argument
-