Method | Defined By | ||
---|---|---|---|
compareTo(object:Object):int
Compares this object with the specified object for order. | IComparable |
compareTo | () | method |
public function compareTo(object:Object):int
Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
Parameters
object:Object — the object to be compared
|
int — a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.
|