indexNear64

indexNear64(value: MemberType): Integer64;

The indexNear64 method of the Set class returns an approximate index for the entry specified in the value parameter if it exists in the collection as an Integer64 value or it returns zero (0) if it does not exist. (See also the Iterator class startNearIndex method.)

If the specified value occurs more than once in the collection, the approximate index of the first occurrence is returned.

This method calculates and returns an approximate index. This incurs less processing overhead than using the indexOf64 method.