| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Session | |
| pack-priv SortAndSlice | |
| pack-priv Type |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(Object a, Object b)
Implements java. Compares its two arguments for order. |
| public boolean | |
| public int | |
| public long | |
| public void |
| session | back to summary |
|---|---|
| pack-priv final Session session | |
| sort | back to summary |
|---|---|
| pack-priv SortAndSlice sort | |
| type | back to summary |
|---|---|
| pack-priv Type type | |
| TypedComparator | back to summary |
|---|---|
| public TypedComparator(Session session) | |
| compare | back to summary |
|---|---|
| public int compare(Object a, Object b) 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 a, Object b) Implements org. | |
| hashCode | back to summary |
|---|---|
| public int hashCode(Object a) Implements org. | |
| longKey | back to summary |
|---|---|
| public long longKey(Object a) Implements org. | |
| setType | back to summary |
|---|---|
| public void setType(Type type, SortAndSlice sort) | |