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

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

static class Sorters.RecvCountComparator
extends Sorters.PeerComparator


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

Sorters.RecvCountComparator()
Method Detail

compare

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