RegisterSign In

API Documentation: Interface 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.

The text on this page is licensed under the Creative Commons Attribution 3.0 License. Java is a registered trademark of Oracle and/or its affiliates.
Mckoi is Copyright © 2000 - 2020 Diehl and Associates, Inc. All rights reserved.