Package net.i2p.router.peermanager
Class SpeedComparator
java.lang.Object
net.i2p.router.peermanager.SpeedComparator
- All Implemented Interfaces:
Serializable
,Comparator<PeerProfile>
Order profiles by their speed (lowest first).
- Since:
- 0.7.10
-
Constructor Summary
-
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
-
SpeedComparator
SpeedComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<PeerProfile>
-