com.github.strangepleasures.match.MatchingConsumer Maven / Gradle / Ivy
package com.github.strangepleasures.match;
import java.util.function.Consumer;
@FunctionalInterface
public interface MatchingConsumer extends Consumer {
default boolean matches(Object value) {
return TypeChecker.matches(this, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy