shz.core.function.CharConsumer Maven / Gradle / Ivy
package shz.core.function;
import java.util.Objects;
@FunctionalInterface
public interface CharConsumer {
void accept(char value);
default CharConsumer andThen(CharConsumer after) {
Objects.requireNonNull(after);
return t -> {
accept(t);
after.accept(t);
};
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy