The methods of the IntegerList class are listed below. For a complete list of IntegerList class members, see the IntegerList Members topic.
Equals | Overloaded. Determines whether the specified Object instances are considered equal. |
Repeat | Returns an IntegerList whose elements are copies of the specified value. |
Synchronized | Returns an IntegerList wrapper that is synchronized. |
Add | Adds an integer to a list. |
Clear | Removes all elements from the list. |
Clone | A shallow copy of the list. |
Contains | |
CopyTo | Overloaded. Copies the entire list to a compatible one-dimensional array, starting at the beginning of the target array. |
Equals | Overloaded. Determines whether the specified Object is equal to the current Object. |
GetEnumerator | Overloaded. Returns an enumerator for the entire list. |
GetHashCode | Serves as a hash function. |
GetRange | Returns an integer list which represents a subset of the elements in the source list. |
GetType (inherited from Object) | Gets the Type of the current instance. |
IndexOf | Overloaded. Searches for the specified Object and returns the zero-based index of the first occurrence within the entire list. |
Insert | Inserts an element into the list at the specified index. |
InsertRange | Inserts the elements of the other integer list into the list at the specified index. |
LastIndexOf | Overloaded. Searches for the specified value and returns the zero-based index of the last occurrence within the entire list. |
Remove | Removes the first occurrence of a specific value from the list. |
RemoveAt | Removes the element at the specified index of the list. |
RemoveRange | Removes a range of elements from the list. |
Reverse | Overloaded. Reverses the order of the elements in the entire list. |
SetRange | Copies the elements of a collection over a range of elements in the list. |
Sort | Overloaded. Sorts the elements in the entire list using the IComparable implementation of the Integer. |
ToString | Returns a String that represents the list. |
TrimToSize | Sets the capacity to the actual number of elements in the list. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |