| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(LoadObject lo1, LoadObject lo2)
Implements java. Compares its two arguments for order. |
| public boolean | equals(Object o)
Overrides java. Implements java. Indicates whether some other object is "equal to" this comparator. |
| LoadObjectComparator | back to summary |
|---|---|
| public LoadObjectComparator() | |
| compare | back to summary |
|---|---|
| public int compare(LoadObject lo1, LoadObject lo2) Implements java. Doc from java. Compares its two arguments for order. Returns a negative integer, zero, or a positive integer as the first argument is less than, equal to, or greater than the second.
The implementor must ensure that
The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Implements java. Doc from java. Indicates whether some other object is "equal to"
this comparator. This method must obey the general contract of
Note that it is always safe not to override
| |