| Package | org.servebox.commons.comparator |
| Interface | public interface IComparator |
| Implementors | BasicObjectComparator, BrowsingOperationComparator, StringComparator |
| Method | Defined by | ||
|---|---|---|---|
|
compare(o1:*, o2:*):int
Compares two arguments .
| IComparator | ||
| compare | () | method |
public function compare(o1:*, o2:*):intCompares 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.
Parameterso1:* |
|
o2:* |
int |