Interface CharConsumer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface for a
Consumer that takes a primitive char as argument.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidDeprecated.voidacceptChar(char value) Performs this operation on the given argument.Deprecated.default CharConsumerandThenChar(CharConsumer after)
-
Method Details
-
acceptChar
void acceptChar(char value) Performs this operation on the given argument.- Parameters:
value- the input argument
-
accept
Deprecated. -
andThenChar
- Parameters:
after- the operation to perform after this operation- Returns:
- a composed
CharConsumerthat performs in sequence this operation followed by theafteroperation
-
andThen
Deprecated.
-