java.lang.Object
net.i2p.router.web.helpers.GraphHelper.AlphaComparator
- All Implemented Interfaces:
Serializable, Comparator<GraphListener>
- Enclosing class:
GraphHelper
private static class GraphHelper.AlphaComparatorextends Object implements Comparator<GraphListener>, Serializable
Orders graphs for display: "Router" group first, then remaining groups alphabetically, then by stat name and period.
Constructor Summary
ConstructorsMethod Summary
All MethodsModifier and TypeMethodDescriptionintOrders listeners by rate group name, with Router first.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
Constructor Details
AlphaComparator
private AlphaComparator()Orders graph listeners by name.
Method Details
compare
Orders listeners by rate group name, with Router first.- Specified by:
comparein interfaceComparator<GraphListener>