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

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

static class Sorters.SendCountComparator
extends Sorters.PeerComparator


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

Sorters.SendCountComparator()
Method Detail

compare

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