Package net.i2p.router.web.helpers
Class NetDbRenderer.RAComparator
java.lang.Object
net.i2p.router.web.helpers.NetDbRenderer.RAComparator
- All Implemented Interfaces:
Comparator<RouterAddress>
- Enclosing class:
- NetDbRenderer
static class NetDbRenderer.RAComparator extends Object implements Comparator<RouterAddress>
Sort by style, then host
- Since:
- 0.9.38
-
Constructor Summary
Constructors Constructor Description RAComparator()
-
Method Summary
Modifier and Type Method Description int
compare(RouterAddress l, RouterAddress r)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
RAComparator
RAComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<RouterAddress>
-