shz.core.function.ByteConsumer Maven / Gradle / Ivy
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