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

shz.core.function.ByteConsumer 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 ByteConsumer {
    void accept(byte value);

    default ByteConsumer andThen(ByteConsumer after) {
        Objects.requireNonNull(after);
        return t -> {
            accept(t);
            after.accept(t);
        };
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy