net.i2p.router.transport.udp
Class Sorters.SkewComparator

java.lang.Object
  extended by net.i2p.router.transport.udp.Sorters.PeerComparator
      extended by net.i2p.router.transport.udp.Sorters.SkewComparator
All Implemented Interfaces:
Serializable, Comparator<PeerState>
Enclosing class:
Sorters

static class Sorters.SkewComparator
extends Sorters.PeerComparator


Constructor Summary
Sorters.SkewComparator()
           
 
Method Summary
 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
 

Constructor Detail

Sorters.SkewComparator

Sorters.SkewComparator()
Method Detail

compare

public int compare(PeerState l,
                   PeerState r)
Specified by:
compare in interface Comparator<PeerState>
Overrides:
compare in class Sorters.PeerComparator