THashSet<T>.Create(IEqualityComparer) Constructor
Initializes a new instance of the THashSet<T> class that is empty and uses the specified equality comparer for the set type.
public
constructor Create(const comparer: IEqualityComparer<T>); overload;
Parameters
- comparer
- Type: IEqualityComparer<T>
The IEqualityComparer<T> implementation to use when comparing values in the set, or nil to use the default TEqualityComparer<T> implementation for the set type.