API Documentation: Interface IndexObjectCollator
| Name | IndexObjectCollator |
| Package | com.mckoi.data |
A comparator used in a search on an index that compares an Object with a 64-bit index reference and determines if the Object value is larger, smaller or the same as the referenced value. This typically is used as a device to dereference a 64-bit key value into a collatable object in another structure to build and query an index.
Methods Summary
| int | compare(long ref, Object val) |
Method Details
int compare(long ref, Object val)
Compares a value at some specified reference and an Object value, and returns a value > 0 if the referenced value is greater, < 0 if the referenced value is less than, or == 0 if the referenced value is the same.
