Package net.i2p.router.web.helpers
Class UDPSorters.RTTComparator
java.lang.Object
net.i2p.router.web.helpers.UDPSorters.PeerComparator
net.i2p.router.web.helpers.UDPSorters.RTTComparator
- All Implemented Interfaces:
Serializable
,Comparator<PeerState>
- Enclosing class:
- UDPSorters
static class UDPSorters.RTTComparator extends UDPSorters.PeerComparator
-
Constructor Summary
Constructors Constructor Description RTTComparator()
-
Method Summary
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
-
RTTComparator
RTTComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<PeerState>
- Overrides:
compare
in classUDPSorters.PeerComparator
-