Packageorg.servebox.commons.comparator
Classpublic class BasicObjectComparator
ImplementsIComparator

Default comparator for IBasicObject.



Public Methods
 MethodDefined by
  
compare(o1:*, o2:*):int
Compares two arguments .
BasicObjectComparator
Method detail
compare()method
public function compare(o1:*, o2:*):int

Compares two arguments . Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.

Parameters
o1:*
 
o2:*

Returns
int