org.joo.libra.text.NotMatchPredicate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of joo-libra Show documentation
Show all versions of joo-libra Show documentation
Java Predicate with SQL-like syntax support
package org.joo.libra.text;
import org.joo.libra.common.BinaryPredicate;
import org.joo.libra.common.HasValue;
public class NotMatchPredicate extends BinaryPredicate {
public NotMatchPredicate(HasValue one, HasValue other) {
super(one, other);
}
@Override
protected boolean doSatisifiedBy(String one, String other) {
return !one.matches(other);
}
}