You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.



All Packages  This Package  Class Hierarchy  Class Search  Index

Interface calypso.util.Comparer

This interface is the thing used by QSort to compare two objects.

See Also: QSort


public interface  Comparer
{
          // Methods 1
     public abstract int compare(Object, Object);
}



Methods


compare

   public abstract int compare(Object a, 
                               Object b) 

Compare two objects for sorting. Should return negative if A < B, positive if A > B, else 0.



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.4