java.lang.Object
net.i2p.router.web.helpers.TunnelRenderer.TunnelComparator
- All Implemented Interfaces:
Serializable, Comparator<HopConfig>
- Enclosing class:
TunnelRenderer
private static class TunnelRenderer.TunnelComparatorextends Object implements Comparator<HopConfig>, Serializable
Sorts tunnels by hop configuration.
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
Constructor Details
TunnelComparator
private TunnelComparator()Orders hops by their tunnel.
Method Details
compare
- Specified by:
comparein interfaceComparator<HopConfig>