public class TaskStateComparator extends Object implements Comparator<Task<?>>
Task.State
enumeration.| Constructor and Description |
|---|
TaskStateComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Task<?> o1,
Task<?> o2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(Task<?> o1, Task<?> o2)
compare in interface Comparator<Task<?>>Copyright © 2015. All Rights Reserved.