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.

Namespace: Spring.Collections.Sets
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>)