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

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

package shz.core.function;

import java.util.Objects;

@FunctionalInterface
public interface FloatConsumer {
    void accept(float value);

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy