Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CollectionUtils Members

CollectionUtils overview

Public Static (Shared) Methods

AddOverloaded. Adds the specified element to the specified collection .
Contains Determines whether the collection contains the specified element.
ContainsAll Determines whether the collection contains all the elements in the specified collection.
FindFirstMatch Returns the first element contained in both, source and candidates.
FindValueOfTypeOverloaded. Finds a value of the given type in the given collection.
FindValuesOfType Finds a value of the given type in the given collection.
HasElements Checks if the given array or collection has elements and none of the elements is null.
HasLength Checks if the given array or collection is null or has no elements.
HasUniqueObject Determine whether a given collection only contains a single unique object
IsEmptyOverloaded. Determines whether the specified collection is null or empty.
RemoveAll Removes all the elements from the target collection that are contained in the source collection.
StableSortOverloaded. A simple stable sorting routine - far from being efficient, only for small collections.
StableSortInPlaceOverloaded. A simple stable sorting routine - far from being efficient, only for small collections.
ToArray Copies the elements of the ICollection to a new array of the specified element type.
ToArrayList Converts an ICollectioninstance to an ArrayList instance.

Public Instance Constructors

CollectionUtils Constructor Initializes a new instance of the CollectionUtils class.

Public Instance Methods

Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.

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

CollectionUtils Class | Spring.Util Namespace