java.lang.Object
net.i2p.i2ptunnel.web.IndexBean.TCComparator
- All Implemented Interfaces:
Comparator<Integer>
- Enclosing class:
IndexBean
Sort tunnel numbers 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 comparing the tunnel names.
Constructor Details
TCComparator
private TCComparator()Orders tunnel controllers for display.
Method Details
compare
Compare two tunnel numbers by tunnel name, then by number.- Specified by:
comparein interfaceComparator<Integer>