Packageorg.as3coreaddendum.system
Interfacepublic interface IComparable
Implementors Enum

This interface imposes a total ordering on the objects of each class that implements it. This ordering is referred to as the class's natural ordering, and the class's compareTo method is referred to as its natural comparison method.



Public Methods
 MethodDefined By
  
compareTo(o:*):int
Compares this object with the specified object for order.
IComparable
Method Detail
compareTo()method
public function compareTo(o:*):int

Compares this object with the specified object for order.

Parameters

o:*

Returns
int — a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.

Throws
ClassCastError — if the specified object's type prevents it from being compared to this object.