indexNear(value: MemberType): Integer;
The indexNear method of the Set class returns an approximate index for the entry specified in the value parameter if it exists in the collection or it returns zero (0) if it does not exist. (See also the
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
Use the indexNear64 method instead of the indexNear method, if the number of entries in the set could exceed the maximum integer value of 2,147,483,647.