xpfGetHashedValue

FUNCTION xpfGetHashedValue(hashTableIndex, index : INTEGER;
                           hashedValue           : GENERIC)
                           instanceId            : GENERIC;
                

The xpfGetHashedValue function looks up in the specified hash table for instances that match the given ?lookup value?. The hashTableIndex identifies the actual hash table. The hashTableIndex is returned by a previous xpxMakeHashTable operation when the actual hash table was created. The argument hashedValue is the actual value of the attribute which is specified as key. The argument index is the index in the hash table for all elements in the hash table that exactly matches the specified hashedValue. index start with the value 1. instanceId is the returned value that uniquely identifies the instance in the hash table that matches the ?lookup value?: hashTableIndex, index and hashedValue. This function returns the constant xpxNullId when no matching instance is found in the actual hash table. Using the mechanism of hash table will considerable improve performance when searching a collection of instances for matching attribute values.

Arguments


TypeNameComment
INTEGERhashTableIndex 
INTEGERindex 
GENERIChashedValue 

Return Value


 

TypeNameComment
GENERICinstanceIdcomments

Options


 

Example


<Missing Example>

 

See also

Filter by label

There are no items with the selected labels at this time.

Â