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