Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ImmutableSet Members

ImmutableSet overview

Public Instance Constructors

ImmutableSet Constructor Constructs an immutable (read-only) ISet wrapper.

Public Instance Properties

Count The number of elements currently contained in this collection.
IsEmpty Returns true if this set contains no elements.
IsSynchronized Returns true if the ISet is synchronized across threads.
SyncRoot An object that can be used to synchronize this collection to make it thread-safe.

Public Instance Methods

Add Adds the specified element to this set if it is not already present.
AddAll Adds all the elements in the specified collection to the set if they are not already present.
Clear Removes all objects from this set.
Clone Returns a clone of the ISet instance.
Contains Returns true if this set contains the specified element.
ContainsAll Returns true if the set contains all the elements in the specified collection.
CopyTo Copies the elements in the ISet to an array.
Equals (inherited from Set) This method will test the ISet against another ISet for "equality".
ExclusiveOr Performs an "exclusive-or" of the two sets, keeping only those elements that are in one of the sets, but not in both.
GetEnumerator Gets an enumerator for the elements in the ISet.
GetHashCode (inherited from Set) Gets the hashcode for the object.
GetType (inherited from Object)Gets the Type of the current instance.
Intersect Performs an "intersection" of the two sets, where only the elements that are present in both sets remain.
Minus Performs a "minus" of this set from the setOne set.
Remove Removes the specified element from the set.
RemoveAll Remove all the specified elements from this set, if they exist in this set.
RetainAll Retains only the elements in this set that are contained in the specified collection.
ToString (inherited from Object)Returns a String that represents the current Object.
Union Performs a "union" of the two sets, where all the elements in both sets are present.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

ImmutableSet Class | Spring.Collections Namespace