K
- the type of the key arguments of the comparisonpublic interface OperationIndexComparator<K> extends IndexComparator<K,LocalAbstractObject>
IndexComparator.extractKey(O)
extracts a key for this
comparator from any indexed object. The imposed order also corresponds
to a certain QueryOperation
, which can be obtained by
createIndexOperation(java.util.Collection<? extends K>)
.
This IndexComparator is restricted to LocalAbstractObject
only,
so that the query operation can work for them.
Comparator
Modifier and Type | Method and Description |
---|---|
QueryOperation<?> |
createIndexOperation(java.util.Collection<? extends K> keys)
Creates a query operation for the given keys.
|
equals, extractKey, indexCompare
QueryOperation<?> createIndexOperation(java.util.Collection<? extends K> keys)
keys
- the list of keys the operation searches for