[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 | (Inherited from Object.) | |
| GetType | (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 | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) |