Class ByCars

java.lang.Object
  extended by ByCars
All Implemented Interfaces:
java.util.Comparator<Salesperson>

public class ByCars
extends java.lang.Object
implements java.util.Comparator<Salesperson>


Constructor Summary
ByCars()
           
 
Method Summary
 int compare(Salesperson arg1, Salesperson arg2)
           
 
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

ByCars

public ByCars()
Method Detail

compare

public int compare(Salesperson arg1,
                   Salesperson arg2)
Specified by:
compare in interface java.util.Comparator<Salesperson>