java.lang.Object
net.i2p.router.web.helpers.JobQueueHelper.JobGroupTimeDescComparator
- All Implemented Interfaces:
Serializable, Comparator<JobQueueHelper.JobGroup>
- Enclosing class:
JobQueueHelper
private static class JobQueueHelper.JobGroupTimeDescComparatorextends Object implements Comparator<JobQueueHelper.JobGroup>, Serializable
Sorts job groups by time descending, keeping equal times in their current order.
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateOrders job groups by time, newest first.Method Summary
All MethodsMethods inherited from class Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Comparator
equals, max, min, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
Constructor Details
JobGroupTimeDescComparator
private JobGroupTimeDescComparator()Orders job groups by time, newest first.
Method Details
compare
- Specified by:
comparein interfaceComparator<JobQueueHelper.JobGroup>