TArray Class

Represents type TArray.

Namespace: Spring
TArray
  Spring.TArray
type
 TArray = class(Generics.Collections.TArray)
 end;

The TArray type exposes the following members.

Show:
 NameDescription
BinarySearch<T>(T[],T,Integer,TComparison)

Overloaded. Searches a sorted array for the given value, using a binary search algorithm returning the index for the first found value using the specified comparison.

BinarySearch<T>(T[],T,Integer,TComparison,Integer,Integer)

Overloaded. Searches a range of elements in a sorted array for the given value, using a binary search algorithm returning the index for the first found value using the specified comparison.

BinarySearchUpperBound<T>(T[],T,Integer)

Overloaded. Searches a sorted array for the given value, using a binary search algorithm returning the index for the last found value.

BinarySearchUpperBound<T>(T[],T,Integer,IComparer)

Overloaded. Searches a sorted array for the given value, using a binary search algorithm returning the index for the last found value using the specified comparer.

BinarySearchUpperBound<T>(T[],T,Integer,IComparer,Integer,Integer)

Overloaded. Searches a range of elements in a sorted array for the given value, using a binary search algorithm returning the index for the last found value using the specified comparer.

BinarySearchUpperBound<T>(T[],T,Integer,TComparison)

Overloaded. Searches a sorted array for the given value, using a binary search algorithm returning the index for the last found value using the specified comparer.

BinarySearchUpperBound<T>(T[],T,Integer,TComparison,Integer,Integer)

Overloaded. Searches a range of elements in a sorted array for the given value, using a binary search algorithm returning the index for the last found value using the specified comparison.

Concat<T>(TArray[])

Concatenates an array of arrays to one array

Contains<T>(T[],T)

Determines whether the specified item exists as an element in an array.

Copy<T>(T[])

Copies an open array to a dynamic array.

ForEach<T>(T[],TAction<T>)

Executes the specified action for each item in the specified array.

IndexOf<T>(T[],T)

Overloaded. Searches for the specified element and returns the index of the first occurrence within the entire array.

IndexOf<T>(T[],T,Integer)

Overloaded. Searches for the specified element and returns the index of the first occurrence within the range of elements in the array that extends from the specified index to the last element.

IndexOf<T>(T[],T,Integer,Integer)

Overloaded. Searches for the specified element and returns the index of the first occurrence within the range of elements in the array that starts at the specified index and contains the specified number of elements.

IndexOf<T>(T[],T,Integer,Integer,IEqualityComparer)

Overloaded. Searches for the specified element and returns the index of the first occurrence within the range of elements in the array that starts at the specified index and contains the specified number of elements using the specified equality comparer.

LastIndexOf<T>(T[],T)

Overloaded. Searches for the specified element and returns the index of the last occurrence within the entire array.

LastIndexOf<T>(T[],T,Integer)

Overloaded. Searches for the specified element and returns the index of the last occurrence within the range of elements in the array that extends from the specified index to the last element.

LastIndexOf<T>(T[],T,Integer,Integer)

Overloaded. Searches for the specified element and returns the index of the last occurrence within the range of elements in the array that starts at the specified index and contains the specified number of elements.

LastIndexOf<T>(T[],T,Integer,Integer,IEqualityComparer)

Overloaded. Searches for the specified element and returns the index of the last occurrence within the range of elements in the array that starts at the specified index and contains the specified number of elements using the specified equality comparer.

Shuffle<T>(T[])

Overloaded. Shuffles the elements in the array using the Fisher-Yates algorithm.

Shuffle<T>(T[],Integer)

Overloaded. Shuffles the elements in the array starting at the specified index using the Fisher-Yates algorithm.

Shuffle<T>(T[],Integer,Integer)

Overloaded. Shuffles the specified count of elements in the array starting at the specified index using the Fisher-Yates algorithm.

Sort<T>(T[],TComparison)

Overloaded. Sorts the elements in an array using the specified comparison.

Sort<T>(T[],TComparison,Integer,Integer)

Overloaded. Sorts the specified range of elements in an array using the specified comparison.

Top