[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 (Inherited from Object.)
static memberFirst<(Of T>)
Returns the first item returned by the enumerator of the collection.

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

Protected Methods

  NameDescription
Finalize (Inherited from Object.)
MemberwiseClone (Inherited from Object.)