com.qwlabs.lang.EmptyConsumer Maven / Gradle / Ivy
package com.qwlabs.lang;
import java.util.Objects;
@FunctionalInterface
public interface EmptyConsumer {
void accept();
default EmptyConsumer andThen(EmptyConsumer after) {
Objects.requireNonNull(after);
return () -> {
accept();
after.accept();
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy