Package net.i2p.router.web.helpers
Class UDPSorters.SkewComparator
- java.lang.Object
-
- net.i2p.router.web.helpers.UDPSorters.PeerComparator
-
- net.i2p.router.web.helpers.UDPSorters.SkewComparator
-
- All Implemented Interfaces:
Serializable
,Comparator<PeerState>
- Enclosing class:
- UDPSorters
static class UDPSorters.SkewComparator extends UDPSorters.PeerComparator
-
-
Constructor Summary
Constructors Constructor Description SkewComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(PeerState l, PeerState 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
-
-
-
-
Method Detail
-
compare
public int compare(PeerState l, PeerState r)
- Specified by:
compare
in interfaceComparator<PeerState>
- Overrides:
compare
in classUDPSorters.PeerComparator
-
-