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

Determines whether a THashSet<T> object and the specified collection contain the same elements.

Namespace: Spring.Collections.Sets
public
 function SetEquals(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 is equal to other; otherwise, False.

Implements

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