Calitha GOLD Parser Engine Documentation

IntegerList Methods

The methods of the IntegerList class are listed below. For a complete list of IntegerList class members, see the IntegerList Members topic.

Public Static Methods

EqualsOverloaded. 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.

Public Instance Methods

Add Adds an integer to a list.
Clear Removes all elements from the list.
Clone A shallow copy of the list.
Contains 
CopyToOverloaded. Copies the entire list to a compatible one-dimensional array, starting at the beginning of the target array.
EqualsOverloaded. Determines whether the specified Object is equal to the current Object.
GetEnumeratorOverloaded. 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.
IndexOfOverloaded. 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.
LastIndexOfOverloaded. 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.
ReverseOverloaded. 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.
SortOverloaded. 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.

Protected Instance Methods

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.

See Also

IntegerList Class | com.calitha.commons Namespace