THashSet<T>.Overlaps(IEnumerable<T>) Method

Determines whether the current THashSet<T> object and a specified collection share common elements.

Namespace: Spring.Collections.Sets
public
 function Overlaps(const other: IEnumerable<T>): Boolean;

Parameters

other
Type: IEnumerable<T>

The collection to compare to the current THashSet<T> object.

Return Value

Type: Boolean

True if the THashSet<T> object and other share at least one common element; otherwise, False.

Implements

ISet<T>.Overlaps(IEnumerable<T>)