[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

  NameDescription
static memberAddAll<(Of T>)
Add all of one enumerable set into a collection.

AreEqualOverloaded.
static memberContainsAll<(Of T>)
Returns true if all items in the itemEnum are contained in referenceCollection

Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
static memberFirst<(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.)
static memberNext<(Of T>)
Advances the enumerator and returns the next item.

static memberRandomAccessList<(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.

static memberRemoveAll<(Of T>)
Removes all items in itemEnum from the targetCollection

static memberRender
Renders an enumerable source

static memberReverse<(Of T>)
Primitive reversal of a collection

ShuffleOverloaded.
static memberToArray<(Of T>)
Converts all of the items in source to an array.

ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Protected Methods

  NameDescription
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.)