Optional
elementsOptional
elementsA predicate determining when two elements are equal.
This function is only called after is has been determined that the keys are equal, so you may safely skip the equality check for the keys.
If omitted, the built-in equality function will be used.
Optional
getA function that should extract the key out of an element.
For example, dictionaries simply take the first element of a tuple array to be the key.
Optional
keysA predicate for determining when two keys are equal.
Two keys may produce the same hash result, but that does not necessarily mean that they are equal. This function resolves any conflicts.
If omitted, the built-in equality function will be used.
Optional
onWhat to do when the the element being added already exists in the index.
This property defaults to ResolveAction.Error.
Optional
onWhat to do when the key of the element being added already exists in the index.
This property defaults to ResolveAction.Error.
An iterable that will be consumed to fill the index.