[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Provides additional functions that are useful when operating on
collections.
The following tables list the members exposed by the CollectionHelper type.
Public Methods
Name | Description | |
---|---|---|
![]() ![]() | AddAll<(Of T>) |
Add all of one enumerable set into a collection.
|
![]() | AreEqual | Overloaded. |
![]() ![]() | ContainsAll<(Of T>) |
Returns true if all items in the itemEnum are contained in referenceCollection
|
![]() | Equals | (Inherited from Object.) |
![]() ![]() | First<(Of T>) |
Returns the first item returned by the enumerator of the
collection.
|
![]() | GetHashCode | Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() | Next<(Of T>) |
Advances the enumerator and returns the next item.
|
![]() ![]() | RandomAccessList<(Of T>) |
Tries to ensure that we are using a list that supports O(1)
random access lookups. In short, the requestor wants to
ensure that they do not pay a penalty for requesting data
anywhere in the list. This can be a problem if the list is
represented as a linkedlist or other such structure where
lookup time can be proportional to length.
|
![]() ![]() | RemoveAll<(Of T>) |
Removes all items in itemEnum from the targetCollection
|
![]() ![]() | Render |
Renders an enumerable source
|
![]() ![]() | Reverse<(Of T>) |
Primitive reversal of a collection
|
![]() | Shuffle | Overloaded. |
![]() ![]() | ToArray<(Of T>) |
Converts all of the items in source to an array.
|
![]() | ToString | (Inherited from Object.) |
Protected Methods
Name | Description | |
---|---|---|
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
Public Constructors
Name | Description | |
---|---|---|
![]() | CollectionHelperNew |