The Mozilla
Organization
At A Glance
Feedback
Get Involved
Newsgroups
License Terms
Newsbot
Developer Docs
Roadmap
Projects
Ports
Module Owners
Hacking
Get the Source
Build It
Testing
Download
Bugzilla
Bug Writing
Tools
View Source
Tree Status
New Checkins
Submit A Bug
FAQ
Search
Interface calypso.util.Comparer
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
Copyright © 1998-2000 The Mozilla Organization.
Last modified December 25, 1998.