package jrummikub.ai.fdsolver.constraint; import jrummikub.ai.fdsolver.Var; public class GreaterThanConst> extends FilterConstraint { public GreaterThanConst(final boolean allowEqual, Var x, final T y) { super(new Filter() { @Override public boolean accept(T value) { return y.compareTo(value) < (allowEqual ? 1 : 0); } }, x); } }