java.lang.Object
net.i2p.router.web.helpers.JobQueueHelper.JobCountComparator
- All Implemented Interfaces:
Serializable, Comparator<String>
- Enclosing class:
JobQueueHelper
private static class JobQueueHelper.JobCountComparatorextends Object implements Comparator<String>, Serializable
Orders job names alphabetically with a locale-sensitive collator, so the console's job list sorts the way the user's locale expects.
Field Summary
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateOrders job groups by how many jobs they hold.Method 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
JobCountComparator
private JobCountComparator()Orders job groups by how many jobs they hold.
Method Details
compare
- Specified by:
comparein interfaceComparator<String>