jimmc.roots
Class SortAdaptor

java.lang.Object
  |
  +--jimmc.roots.SortAdaptor
All Implemented Interfaces:
SortComparator

public class SortAdaptor
extends java.lang.Object
implements SortComparator

An adaptor to allow inner classes.


Constructor Summary
SortAdaptor()
           
 
Method Summary
 int compare(java.lang.Object first, java.lang.Object second)
          Compare two objects to see if they are out of order.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SortAdaptor

public SortAdaptor()
Method Detail

compare

public int compare(java.lang.Object first,
                   java.lang.Object second)
Compare two objects to see if they are out of order.
Specified by:
compare in interface SortComparator
Parameters:
first - first String as an Object
second - second String as an Object
Returns:
<0, 0, or >0 as the first item is less than, equal to, or greater than the second item.