| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final UsingToStringOrdering | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(Object
the first object to be compared. left, Object the second object to be compared. right)Implements abstract com. Implements java. |
| private Object | |
| public String |
| INSTANCE | back to summary |
|---|---|
| pack-priv static final UsingToStringOrdering INSTANCE | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| UsingToStringOrdering | back to summary |
|---|---|
| private UsingToStringOrdering() | |
| compare | back to summary |
|---|---|
| public int compare(Object left, Object right) Implements abstract com. 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 | |
| readResolve | back to summary |
|---|---|
| private Object readResolve() | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |