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.
A primitive specialization of
Consumer for boolean.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidDeprecated.voidacceptBoolean(boolean value) Performs this operation on the given argument.Deprecated.default BooleanConsumerandThenBoolean(BooleanConsumer after)
-
Method Details
-
acceptBoolean
void acceptBoolean(boolean value) Performs this operation on the given argument.- Parameters:
value- the input argument
-
accept
Deprecated. -
andThenBoolean
- Parameters:
after- the operation to perform after this operation- Returns:
- a composed
BooleanConsumerthat performs in sequence this operation followed by theafteroperation
-
andThen
Deprecated.
-