@FunctionalInterface
public interface CharConsumer
Consumer
that accepts char
values. Adapted from IntConsumer
and the like.Modifier and Type | Method and Description |
---|---|
void |
accept(char c)
Perform this action on the given value.
|
default CharConsumer |
andThen(CharConsumer consumer)
Combine this consumer with another consumer whose action is always performed after this consumer's action.
|
void accept(char c)
default CharConsumer andThen(CharConsumer consumer)