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

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

org.openmobileis.modules.common.data.DefaultLabel org.openmobileis.modules.common.data.Label org.openmobileis.synchro.algo.replication.AtomicObjectArrayReplication org.openmobileis.modules.common.database.fodb.FODBLabel org.openmobileis.modules.common.data.DefaultLabel org.openmobileis.modules.common.database.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.common.data.DefaultLabel, and org.openmobileis.synchro.algo.replication.AtomicObjectArrayReplication.

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


The documentation for this interface was generated from the following file:
Generated on Mon Jan 14 17:29:52 2008 for OpenMobileIS by  doxygen 1.5.4