Wintellect.PowerCollections Namespace
Algorithms Class
GhostDoc Pro Sample Help File

BigList<(Of <(<'T>)>)> Methods

The BigList<(Of <(<'T>)>)> type exposes the following members.

Methods


  Name Description
Public method Add
Adds an item to the end of the BigList. The indices of all existing items in the Deque are unchanged.
Public method AddRange(IEnumerable<(Of <<'(T>)>>))
Adds a collection of items to the end of BigList. The indices of all existing items are unchanged. The last item in the added collection becomes the last item in the BigList.
Public method AddRange(BigList<(Of <<'(T>)>>))
Adds a BigList of items to the end of BigList. The indices of all existing items are unchanged. The last item in list becomes the last item in this list. The added list list is unchanged.
Public method AddRangeToFront(IEnumerable<(Of <<'(T>)>>))
Adds a collection of items to the front of BigList. The indices of all existing items in the are increased by the number of items in collection. The first item in the added collection becomes the first item in the BigList.
Public method AddRangeToFront(BigList<(Of <<'(T>)>>))
Adds a BigList of items to the front of BigList. The indices of all existing items are increased by the number of items in list. The first item in list becomes the first item in this list. The added list list is unchanged.
Public method AddToFront
Adds an item to the beginning of the BigList. The indices of all existing items in the Deque are increased by one, and the new item has index zero.
Public method BinarySearch(T)
Searches a sorted list for an item via binary search. The list must be sorted in the order defined by the default ordering of the item type; otherwise, incorrect results will be returned.
Public method BinarySearch(T, IComparer<(Of <<'(T>)>>))
Searches a sorted list for an item via binary search. The list must be sorted by the ordering defined by the passed IComparer<T> interface; otherwise, incorrect results will be returned.
Public method BinarySearch(T, Comparison<(Of <<'(T>)>>))
Searches a sorted list for an item via binary search. The list must be sorted by the ordering defined by the passed Comparison<T> delegate; otherwise, incorrect results will be returned.
Public method Clear
Removes all of the items from the BigList.
Public method Clone
Creates a new BigList that is a copy of this list.
Public method CloneContents
Makes a deep clone of this BigList. A new BigList is created with a clone of each element of this set, by calling ICloneable.Clone on each element. If T is a value type, then this method is the same as Clone.
Public method ConvertAll<(Of <<'(TDest>)>>)
Convert the list to a new list by applying a delegate to each item in the collection. The resulting list contains the result of applying converter to each item in the list, in order. The current list is unchanged.
Public method GetEnumerator()()()()
Enumerates all of the items in the list, in order. The item at index 0 is enumerated first, then the item at index 1, and so on. Usually, the foreach statement is used to call this method implicitly.
Public method GetRange
Creates a new list that contains a subrange of elements from this list. The current list is unchanged.
Public method Insert
Inserts a new item at the given index in the BigList. All items at indexes equal to or greater than index move up one index.
Public method InsertRange(Int32, IEnumerable<(Of <<'(T>)>>))
Inserts a collection of items at the given index in the BigList. All items at indexes equal to or greater than index increase their indices by the number of items inserted.
Public method InsertRange(Int32, BigList<(Of <<'(T>)>>))
Inserts a BigList of items at the given index in the BigList. All items at indexes equal to or greater than index increase their indices by the number of items inserted.
Public method Print
Prints out the internal structure of the tree, for debugging purposes.
Public method Range
Returns a view onto a sub-range of this list. Items are not copied; the returned IList<T> is simply a different view onto the same underlying items. Changes to this list are reflected in the view, and vice versa. Insertions and deletions in the view change the size of the view, but insertions and deletions in the underlying list do not.
Public method RemoveAt
Removes the item at the given index in the BigList. All items at indexes greater than index move down one index.
Public method RemoveRange
Removes a range of items at the given index in the Deque. All items at indexes greater than index move down count indices in the Deque.
Public method Reverse()()()()
Reverses the current list in place.
Public method Reverse(Int32, Int32)
Reverses the items in the range of count items starting from startIndex, in place.
Public method Sort()()()()
Sorts the list in place.
Public method Sort(IComparer<(Of <<'(T>)>>))
Sorts the list in place. A supplied IComparer<T> is used to compare the items in the list.
Public method Sort(Comparison<(Of <<'(T>)>>))
Sorts the list in place. A supplied Comparison<T> delegate is used to compare the items in the list.
Public method Validate
Attempts to validate the internal consistency of the tree.