Class TaskDifficultyComparator
java.lang.Object
org.optaplanner.examples.taskassigning.domain.solver.TaskDifficultyComparator
- All Implemented Interfaces:
Comparator<Task>
Compares tasks by difficulty.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
TaskDifficultyComparator
public TaskDifficultyComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<Task>
-