Optional
capacityOptional
elementsAn iterable that will be consumed to fill the index.
Optional
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
getThe hashing function that will be used to map entries to a certain bucket.
If omitted, the built-in hash 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.
The initial capacity of the underling vector that will store the hash buckets.