All Downloads are FREE. Search and download functionalities are using the official Maven repository.

shz.core.function.CharConsumer Maven / Gradle / Ivy

There is a newer version: 2024.0.2
Show newest version
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