java.lang.Object
net.i2p.router.web.helpers.ConfigTunnelsHelper.TPComparator
- All Implemented Interfaces:
Comparator<TunnelPoolSettings>
- Enclosing class:
ConfigTunnelsHelper
private class ConfigTunnelsHelper.TPComparatorextends Object implements Comparator<TunnelPoolSettings>
Sort tunnels by the name of the tunnel.
Field Summary
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
_comp
Collator sorting the tunnel names for display.
Constructor Details
TPComparator
private TPComparator()Orders tunnel pools by name.
Method Details
compare
- Specified by:
comparein interfaceComparator<TunnelPoolSettings>