Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

org.openmobileis.common.util.collection.Orderable Interface Reference

Inheritance diagram for org.openmobileis.common.util.collection.Orderable:

org.openmobileis.modules.crm.data.common.DefaultLabel org.openmobileis.modules.crm.data.common.Label org.openmobileis.synchro.algo.replication.AtomicObjectArrayReplication org.openmobileis.modules.crm.database.common.fodb.FODBLabel org.openmobileis.modules.crm.data.common.DefaultLabel org.openmobileis.modules.crm.database.common.fodb.FODBLabel List of all members.

Detailed Description

Title: OpenMobileIS project source
Description: Interface that all elements to be sort must implements.

Author:
Philippe Delrieu
Since:
JDK 1.1
Version:
1.0.

Definition at line 39 of file Orderable.java.

Public Member Functions

int compareTo (Object p1, Object p2)
 Compare two objects and order them.


Member Function Documentation

int org.openmobileis.common.util.collection.Orderable.compareTo Object  p1,
Object  p2
 

Compare two objects and order them.

Parameters:
p1 first object
p2 second object
Returns:
< 0 if p1 < p2, 0 if equal, > 0 if p1 > p2

Implemented in org.openmobileis.modules.crm.data.common.DefaultLabel, and org.openmobileis.synchro.algo.replication.AtomicObjectArrayReplication.

Referenced by org.openmobileis.common.util.collection.Sort.shellsort().


The documentation for this interface was generated from the following file:
Generated on Wed Dec 14 21:05:37 2005 for OpenMobileIS by  doxygen 1.4.4