package jrummikub.ai.fdsolver.constraint; import java.util.Comparator; import jrummikub.ai.fdsolver.Var; public class LessThan> extends ComparatorConstraint { public LessThan(boolean allowEqual, Var x, Var y) { super(new Comparator() { @Override public int compare(T o1, T o2) { return o1.compareTo(o2); } }, allowEqual, x, y); } }