SunSPOT API V3.0


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.


SunSPOT API V3.0


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