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
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
RTTComparator
RTTComparator()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<PeerState>- Overrides:
comparein classUDPSorters.PeerComparator
-