Array

Overview

Non generic base for all array.

Location

Descendants

Implements

 

constructor    (declared in Object)

Default constructor.

 

constructor

 

Array()

 

init()

 

Array()

BinarySearch<T,V> Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, UIKit for Mac, watchOS Simulator, watchOS-armv7k, WebAssembly, Windows

 

class method BinarySearch<T,V>(aVal: array of T; aInput: V; aComparer: Func<T, V, Int32>): Int32

 

static Int32 BinarySearch<T,V>(T[] aVal, V aInput, Func<T, V, Int32> aComparer)

 

static func BinarySearch<T,V>(_ aVal: T..., _ aInput: V, _ aComparer: Func<T, V, Int32>) -> Int32

 

static Int32 BinarySearch<T,V>(T[] aVal, V aInput, Func3<T, V, Int32> aComparer)

Parameters:

  • aVal:
  • aInput:
  • aComparer:

Clear<T> Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, UIKit for Mac, watchOS Simulator, watchOS-armv7k, WebAssembly, Windows

 

class method Clear<T>(aVal: array of T; Index: Int32; Length: Int32)

 

static void Clear<T>(T[] aVal, Int32 Index, Int32 Length)

 

static func Clear<T>(_ aVal: T..., _ Index: Int32, _ Length: Int32)

 

static void Clear<T>(T[] aVal, Int32 Index, Int32 Length)

Parameters:

  • aVal:
  • Index:
  • Length:

Copy<T> (^T, array of T, Int32, Int32)

Static method copy between two arrays.

 

class method Copy<T>(aSource: ^T; aDest: array of T; aDestOffset: Int32; aCount: Int32)

 

static void Copy<T>(T* aSource, T[] aDest, Int32 aDestOffset, Int32 aCount)

 

static func Copy<T>(_ aSource: UnsafeMutablePointer<T>, _ aDest: T..., _ aDestOffset: Int32, _ aCount: Int32)

 

static void Copy<T>(T* aSource, T[] aDest, Int32 aDestOffset, Int32 aCount)

Parameters:

  • aSource: The source array
  • aDest: The destination array
  • aDestOffset: The destination offset to copy the array to.
  • aCount: The number of elements to copy

Copy<T> (array of T, array of T, Int32)

Static method copy between two arrays.

 

class method Copy<T>(aSource: array of T; aDest: array of T; aCount: Int32)

 

static void Copy<T>(T[] aSource, T[] aDest, Int32 aCount)

 

static func Copy<T>(_ aSource: T..., _ aDest: T..., _ aCount: Int32)

 

static void Copy<T>(T[] aSource, T[] aDest, Int32 aCount)

Parameters:

  • aSource: The source array
  • aDest: The destination array
  • aCount: The number of elements to copy

Copy<T> (array of T, Int32, array of T, Int32, Int32)

Static method copy between two arrays.

 

class method Copy<T>(aSource: array of T; aSourceOffset: Int32; aDest: array of T; aDestOffset: Int32; aCount: Int32)

 

static void Copy<T>(T[] aSource, Int32 aSourceOffset, T[] aDest, Int32 aDestOffset, Int32 aCount)

 

static func Copy<T>(_ aSource: T..., _ aSourceOffset: Int32, _ aDest: T..., _ aDestOffset: Int32, _ aCount: Int32)

 

static void Copy<T>(T[] aSource, Int32 aSourceOffset, T[] aDest, Int32 aDestOffset, Int32 aCount)

Parameters:

  • aSource: The source array
  • aSourceOffset: The source offset in the array.
  • aDest: The destination array
  • aDestOffset: The destination offset to copy the array to.
  • aCount: The number of elements to copy

Equals  virtual    (declared in Object)

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

Get  virtual abstract

 

method Get(i: Int32): Object

 

Object Get(Int32 i)

 

func Get(_ i: Int32) -> Object

 

Object Get(Int32 i)

Parameters:

  • i:

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

Length

Contains the length of this array.

 

property Length: Int32 read;

 

Int32 Length { get; }

 

var Length: Int32 { get{} }

 

Int32 Length { __get; }

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

Parameters:

  • a: left value
  • b: right value

Set  virtual abstract

 

method Set(i: Int32; v: Object)

 

void Set(Int32 i, Object v)

 

func Set(_ i: Int32, _ v: Object)

 

void Set(Int32 i, Object v)

Parameters:

  • i:
  • v:

Sort<T> (array of T, Comparison<T>)

 

class method Sort<T>(aVal: array of T; Comparison: Comparison<T>)

 

static void Sort<T>(T[] aVal, Comparison<T> Comparison)

 

static func Sort<T>(_ aVal: T..., _ Comparison: Comparison<T>)

 

static void Sort<T>(T[] aVal, Comparison<T> Comparison)

Parameters:

  • aVal:
  • Comparison:

Sort<T> (array of T, Int32, Int32, Comparison<T>)

 

class method Sort<T>(aVal: array of T; L: Int32; R: Int32; Comparison: Comparison<T>)

 

static void Sort<T>(T[] aVal, Int32 L, Int32 R, Comparison<T> Comparison)

 

static func Sort<T>(_ aVal: T..., _ L: Int32, _ R: Int32, _ Comparison: Comparison<T>)

 

static void Sort<T>(T[] aVal, Int32 L, Int32 R, Comparison<T> Comparison)

Parameters:

  • aVal:
  • L:
  • R:
  • Comparison:

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Length

Contains the length of this array.

 

property Length: Int32 read;

 

Int32 Length { get; }

 

var Length: Int32 { get{} }

 

Int32 Length { __get; }

 

BinarySearch<T,V> Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, UIKit for Mac, watchOS Simulator, watchOS-armv7k, WebAssembly, Windows

 

class method BinarySearch<T,V>(aVal: array of T; aInput: V; aComparer: Func<T, V, Int32>): Int32

 

static Int32 BinarySearch<T,V>(T[] aVal, V aInput, Func<T, V, Int32> aComparer)

 

static func BinarySearch<T,V>(_ aVal: T..., _ aInput: V, _ aComparer: Func<T, V, Int32>) -> Int32

 

static Int32 BinarySearch<T,V>(T[] aVal, V aInput, Func3<T, V, Int32> aComparer)

Parameters:

  • aVal:
  • aInput:
  • aComparer:

Clear<T> Android, iOS, iOS Simulator, macOS, tvOS, tvOS Simulator, Ubuntu, UIKit for Mac, watchOS Simulator, watchOS-armv7k, WebAssembly, Windows

 

class method Clear<T>(aVal: array of T; Index: Int32; Length: Int32)

 

static void Clear<T>(T[] aVal, Int32 Index, Int32 Length)

 

static func Clear<T>(_ aVal: T..., _ Index: Int32, _ Length: Int32)

 

static void Clear<T>(T[] aVal, Int32 Index, Int32 Length)

Parameters:

  • aVal:
  • Index:
  • Length:

Copy<T> (^T, array of T, Int32, Int32)

Static method copy between two arrays.

 

class method Copy<T>(aSource: ^T; aDest: array of T; aDestOffset: Int32; aCount: Int32)

 

static void Copy<T>(T* aSource, T[] aDest, Int32 aDestOffset, Int32 aCount)

 

static func Copy<T>(_ aSource: UnsafeMutablePointer<T>, _ aDest: T..., _ aDestOffset: Int32, _ aCount: Int32)

 

static void Copy<T>(T* aSource, T[] aDest, Int32 aDestOffset, Int32 aCount)

Parameters:

  • aSource: The source array
  • aDest: The destination array
  • aDestOffset: The destination offset to copy the array to.
  • aCount: The number of elements to copy

Copy<T> (array of T, array of T, Int32)

Static method copy between two arrays.

 

class method Copy<T>(aSource: array of T; aDest: array of T; aCount: Int32)

 

static void Copy<T>(T[] aSource, T[] aDest, Int32 aCount)

 

static func Copy<T>(_ aSource: T..., _ aDest: T..., _ aCount: Int32)

 

static void Copy<T>(T[] aSource, T[] aDest, Int32 aCount)

Parameters:

  • aSource: The source array
  • aDest: The destination array
  • aCount: The number of elements to copy

Copy<T> (array of T, Int32, array of T, Int32, Int32)

Static method copy between two arrays.

 

class method Copy<T>(aSource: array of T; aSourceOffset: Int32; aDest: array of T; aDestOffset: Int32; aCount: Int32)

 

static void Copy<T>(T[] aSource, Int32 aSourceOffset, T[] aDest, Int32 aDestOffset, Int32 aCount)

 

static func Copy<T>(_ aSource: T..., _ aSourceOffset: Int32, _ aDest: T..., _ aDestOffset: Int32, _ aCount: Int32)

 

static void Copy<T>(T[] aSource, Int32 aSourceOffset, T[] aDest, Int32 aDestOffset, Int32 aCount)

Parameters:

  • aSource: The source array
  • aSourceOffset: The source offset in the array.
  • aDest: The destination array
  • aDestOffset: The destination offset to copy the array to.
  • aCount: The number of elements to copy

ReferenceEquals    (declared in Object)

Compares two references for equivalence (even if they have an equals operator)

 

class method ReferenceEquals(a: Object; b: Object): Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

 

static func ReferenceEquals(_ a: Object, _ b: Object) -> Boolean

 

static Boolean ReferenceEquals(Object a, Object b)

Parameters:

  • a: left value
  • b: right value

Sort<T> (array of T, Comparison<T>)

 

class method Sort<T>(aVal: array of T; Comparison: Comparison<T>)

 

static void Sort<T>(T[] aVal, Comparison<T> Comparison)

 

static func Sort<T>(_ aVal: T..., _ Comparison: Comparison<T>)

 

static void Sort<T>(T[] aVal, Comparison<T> Comparison)

Parameters:

  • aVal:
  • Comparison:

Sort<T> (array of T, Int32, Int32, Comparison<T>)

 

class method Sort<T>(aVal: array of T; L: Int32; R: Int32; Comparison: Comparison<T>)

 

static void Sort<T>(T[] aVal, Int32 L, Int32 R, Comparison<T> Comparison)

 

static func Sort<T>(_ aVal: T..., _ L: Int32, _ R: Int32, _ Comparison: Comparison<T>)

 

static void Sort<T>(T[] aVal, Int32 L, Int32 R, Comparison<T> Comparison)

Parameters:

  • aVal:
  • L:
  • R:
  • Comparison:

 

constructor    (declared in Object)

Default constructor.

 

constructor

 

Array()

 

init()

 

Array()

Equals  virtual    (declared in Object)

Returns true if the target object matches this one, by default compares the reference.

 

method Equals(obj: Object): Boolean

 

Boolean Equals(Object obj)

 

func Equals(_ obj: Object) -> Boolean

 

Boolean Equals(Object obj)

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object)

Finalizer implementation. If not overriden it's not called at all, the runtime checks if there is an override before calling a finalizer.

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

Get  virtual abstract

 

method Get(i: Int32): Object

 

Object Get(Int32 i)

 

func Get(_ i: Int32) -> Object

 

Object Get(Int32 i)

Parameters:

  • i:

GetHashCode  virtual    (declared in Object)

Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.

 

method GetHashCode: Int32

 

Int32 GetHashCode()

 

func GetHashCode() -> Int32

 

Int32 GetHashCode()

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

Set  virtual abstract

 

method Set(i: Int32; v: Object)

 

void Set(Int32 i, Object v)

 

func Set(_ i: Int32, _ v: Object)

 

void Set(Int32 i, Object v)

Parameters:

  • i:
  • v:

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

Descendants