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.
Functional interface to apply an operation to a single
char
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(char value) Apply this operation tovalue
.default CharConsumer
andThen
(@NotNull CharConsumer after) Return a composed CharConsumer that appliesthis
operation followed byafter
.
-
Method Details
-
accept
void accept(char value) Apply this operation tovalue
.- Parameters:
value
- Thechar
to operate one
-
andThen
Return a composed CharConsumer that appliesthis
operation followed byafter
.- Parameters:
after
- The CharConsumer to apply after applyingthis
- Returns:
- A composed CharConsumer that applies
this
followed byafter
-