org.jwarp.common
Interface IComparable


public interface IComparable

Basic interface for comparing two objects. Used by quicksort.

Author:
Anatole Tresch

Method Summary
 int compare(java.lang.Object obj1, java.lang.Object obj2)
          Return the result of comparing two objects.
 

Method Detail

compare

public int compare(java.lang.Object obj1,
                   java.lang.Object obj2)
Return the result of comparing two objects.
Parameters:
obj1 - First object.
obj2 - Second object.
Returns:
An int.

©   O R C A   S y s t e m s