java.lang.Object
net.i2p.router.web.helpers.HelpSectionHelper.TabComparator
- All Implemented Interfaces:
Comparator<HelpSectionHelper.Tab>
- Enclosing class:
HelpSectionHelper
private class HelpSectionHelper.TabComparatorextends Object implements Comparator<HelpSectionHelper.Tab>
Sorts help tabs by localized title.
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CollatorOrders titles by locale collation.private static final longFixed id, the comparator is never serialized across versions.Constructor Summary
ConstructorsMethod 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
Field Details
serialVersionUID
private static final long serialVersionUIDFixed id, the comparator is never serialized across versions.- See Also:
coll
Orders titles by locale collation.
Constructor Details
TabComparator
public TabComparator()Creates the comparator with the default locale.
Method Details
compare
- Specified by:
comparein interfaceComparator<HelpSectionHelper.Tab>