java.lang.Object
net.i2p.router.web.helpers.TunnelRenderer.TunnelComparatorBySpeed
- All Implemented Interfaces:
Serializable, Comparator<HopConfig>
- Enclosing class:
TunnelRenderer
private static class TunnelRenderer.TunnelComparatorBySpeedextends Object implements Comparator<HopConfig>, Serializable
Order participating tunnels by throughput, fastest first.
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateOrders hops by their tunnel's bandwidth.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
Constructor Details
TunnelComparatorBySpeed
private TunnelComparatorBySpeed()Orders hops by their tunnel's bandwidth.
Method Details
compare
- Specified by:
comparein interfaceComparator<HopConfig>