V
- VariableT
- Valuepublic class ValueComparator<V extends Variable<V,T>,T extends Value<V,T>> extends AssignmentComparator<T,V,T>
Value.compareTo(Assignment, Value)
.
This is to replace the Comparable
interface on the Value
which is
using the deprecated method Value.compareTo(Value)
.Assignment
,
Solver
iAssignment
Constructor and Description |
---|
ValueComparator(Assignment<V,T> assignment) |
compare
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public ValueComparator(Assignment<V,T> assignment)