Fields.
| Modifier and Type | Field and Description |
|---|---|
| public static final FieldComparator | INSTANCE
The singleton instance. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(Field
the first object to be compared. left, Field the second object to be compared. right)Implements java. |
| public static FieldComparator | |
| public static FieldComparator[] |
| INSTANCE | back to summary |
|---|---|
| public static final FieldComparator INSTANCE The singleton instance. | |
| FieldComparator | back to summary |
|---|---|
| private FieldComparator() | |
| compare | back to summary |
|---|---|
| public int compare(Field left, Field right) 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 | |
| valueOf | back to summary |
|---|---|
| public static FieldComparator valueOf(String name) | |
| values | back to summary |
|---|---|
| public static FieldComparator[] values() | |