THashSet<T>.IntersectWith(IEnumerable<T>) Method
Modifies the current THashSet<T> object to contain only elements that are present in that object and in the specified collection.
public procedure IntersectWith(const other: IEnumerable<T>);
Parameters
- other
- Type: IEnumerable<T>
The collection to compare to the current THashSet<T> object.
Implements
ISet<T>.IntersectWith(IEnumerable<T>)- Spring.EArgumentNullException
- other is nil.