xapi.util.matchers.MatchesNone Maven / Gradle / Ivy
package xapi.util.matchers;
import xapi.util.api.MatchesValue;
public class MatchesNone implements MatchesValue {
@SuppressWarnings("unchecked") // Always safe, we never touch value
public static MatchesValue getInstance() {
return NONE;
}
@Override
public boolean matches(T value) {
return false;
}
}