Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ISet.Intersect Method

Performs an "intersection" of the two sets, where only the elements that are present in both sets remain.

[Visual Basic]
Public Sub Intersect( _
   ByVal setOne As ISet _
ISet Intersect(
   ISet setOne


A set of elements.

Return Value

The intersection of this set with setOne.


That is, the element is included if it exists in both sets. The Intersect() operation does not modify the input sets. It returns a clone of this set with the appropriate elements removed.

See Also

ISet Interface | Spring.Collections Namespace