| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | compare(CacheId
the first object to be compared. id1, CacheId the second object to be compared. id2)Implements java. |
| private int | |
| private int | |
| private int |
| CacheIdComparator | back to summary |
|---|---|
| pack-priv CacheIdComparator() | |
| compare | back to summary |
|---|---|
| public int compare(CacheId id1, CacheId id2) 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 | |
| compareByteArrays | back to summary |
|---|---|
| private int compareByteArrays(byte[] array1, byte[] array2) | |
| compareCharArrays | back to summary |
|---|---|
| private int compareCharArrays(char[] array1, char[] array2) | |
| compareObjectArrays | back to summary |
|---|---|
| private int compareObjectArrays(Object[] array1, Object[] array2) | |