java.lang.Object
net.i2p.router.web.helpers.JobQueueHelper.JobStatsComparator
- All Implemented Interfaces:
Serializable, Comparator<JobStats>
- Enclosing class:
JobQueueHelper
private static class JobQueueHelper.JobStatsComparatorextends Object implements Comparator<JobStats>, Serializable
Orders job rows for display by job name, using a locale-aware collator.
Field Summary
Constructor Summary
ConstructorsMethod Summary
Methods 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
Field Details
coll
Collator comparing the job names.
Constructor Details
JobStatsComparator
private JobStatsComparator()Orders jobs by how long they have run.
Method Details
compare
- Specified by:
comparein interfaceComparator<JobStats>