Class TaskDifficultyComparator
- java.lang.Object
-
- org.optaplanner.examples.taskassigning.domain.solver.TaskDifficultyComparator
-
- All Implemented Interfaces:
Comparator<Task>
public class TaskDifficultyComparator extends Object implements Comparator<Task>
-
-
Constructor Summary
Constructors Constructor Description TaskDifficultyComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(Task a, Task b)-
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
-
-
-
-
Method Detail
-
compare
public int compare(Task a, Task b)
- Specified by:
comparein interfaceComparator<Task>
-
-