Class ByName

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

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


Constructor Summary
ByName()
           
 
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

ByName

public ByName()
Method Detail

compare

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