Sun SPOT API
Green Release  


com.sun.squawk.util
Interface Comparer


public interface Comparer


Method Summary
 int compare(Object a, Object b)
          Compares its two arguments for order.
 

Method Detail

compare

int compare(Object a,
            Object b)
Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.


Sun SPOT API
Green Release  


Copyright © 2006 Sun Microsystems, Inc. All Rights Reserved.