TArray.Reverse<T> Method

Overloads

Reverse<T>(array of T)

Reverses the elements in the entire array.

Reverse<T>(array of T, Integer, Integer)

Reverses the elements in the specified range in the array.

Reverse<T>(Pointer, NativeInt)

Reverses the elements in the specified range in the array.

Reverse<T>(array of T)

Reverses the elements in the entire array.

Delphi
class procedure Reverse<T>(var values: array of T)

Type Parameters

T

Parameters

values
array of T

Reverse<T>(array of T, Integer, Integer)

Reverses the elements in the specified range in the array.

Delphi
class procedure Reverse<T>(var values: array of T; index: Integer; count: Integer)

Type Parameters

T

Parameters

values
array of T
index
Integer
count
Integer

Reverse<T>(Pointer, NativeInt)

Reverses the elements in the specified range in the array.

Delphi
class procedure Reverse<T>(const values: Pointer; hi: NativeInt)

Type Parameters

T

Parameters

values
Pointer
hi
NativeInt