SwiftArray<T>

Overview

Location

 

constructor

 

constructor

 

SwiftArray<T>()

 

init()

 

SwiftArray<T>()

 

Sub New()

constructor (^void, Boolean)

 

constructor(aFromArray: ^void; aTakeOwnership: Boolean)

 

SwiftArray<T>(void* aFromArray, Boolean aTakeOwnership)

 

init(_ aFromArray: UnsafeMutablePointer<void>, _ aTakeOwnership: Boolean)

 

SwiftArray<T>(void* aFromArray, Boolean aTakeOwnership)

 

Sub New(aFromArray As Ptr(Of Void), aTakeOwnership As Boolean)

Parameters:

  • aFromArray:
  • aTakeOwnership:

constructor Copy(SwiftArray<T>)

 

constructor Copy(var aValue: SwiftArray<T>)

 

SwiftArray<T> Copy(ref SwiftArray<T> aValue)

 

init(Copy aValue: SwiftArray<T>)

 

SwiftArray<T> Copy(__ref SwiftArray<T> aValue)

 

Sub New Copy(ByRef aValue As SwiftArray<T>)

Parameters:

  • aValue:

append (T) iOS, iOS Simulator, Mac Catalyst, macOS

 

method append(aVal: T)

 

void append(T aVal)

 

func append(_ aVal: T)

 

void append(T aVal)

 

Sub append(aVal As T)

Parameters:

  • aVal:

append (T) UIKit for Mac

 

method append(aVal: T)

 

append(T aVal)

 

func append(_ aVal: T)

 

append(T aVal)

 

Sub append(aVal As T)

Parameters:

  • aVal:

Array

 

property Array: IntPtr read;

 

IntPtr Array { get; }

 

var Array: IntPtr { get{} }

 

IntPtr Array { __get; }

 

ReadOnly Property Array() As IntPtr

Equals (Object): Boolean  virtual    (declared in Object) iOS, iOS Simulator, Mac Catalyst, macOS

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther:

Equals (Object): Boolean  virtual    (declared in Object) UIKit for Mac

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)

 

Function Equals(obj As Object) As Boolean

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object) UIKit for Mac

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

 

Finalize()

 

func Finalize()

 

Finalize()

 

Sub Finalize()

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()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

Item

 

property Item[i: IntPtr]: T read write;

 

T Item[IntPtr i] { get; set; }

 

subscript Item(_ i: IntPtr) -> T { get{} set{} }

 

T Item[IntPtr i] { __get; __set; }

 

Property Item(i As IntPtr) As T

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)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

removeAt

 

method removeAt(aIndex: IntPtr): T

 

T removeAt(IntPtr aIndex)

 

func removeAt(_ aIndex: IntPtr) -> T

 

T removeAt(IntPtr aIndex)

 

Function removeAt(aIndex As IntPtr) As T

Parameters:

  • aIndex:

removeFirst

 

method removeFirst: T

 

T removeFirst()

 

func removeFirst() -> T

 

T removeFirst()

 

Function removeFirst() As T

removeLast

 

method removeLast: T

 

T removeLast()

 

func removeLast() -> T

 

T removeLast()

 

Function removeLast() As T

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

 

Array

 

property Array: IntPtr read;

 

IntPtr Array { get; }

 

var Array: IntPtr { get{} }

 

IntPtr Array { __get; }

 

ReadOnly Property Array() As IntPtr

Item

 

property Item[i: IntPtr]: T read write;

 

T Item[IntPtr i] { get; set; }

 

subscript Item(_ i: IntPtr) -> T { get{} set{} }

 

T Item[IntPtr i] { __get; __set; }

 

Property Item(i As IntPtr) As T

 

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)

 

Shared Function ReferenceEquals(a As Object, b As Object) As Boolean

Parameters:

  • a: left value
  • b: right value

 

constructor

 

constructor

 

SwiftArray<T>()

 

init()

 

SwiftArray<T>()

 

Sub New()

constructor (^void, Boolean)

 

constructor(aFromArray: ^void; aTakeOwnership: Boolean)

 

SwiftArray<T>(void* aFromArray, Boolean aTakeOwnership)

 

init(_ aFromArray: UnsafeMutablePointer<void>, _ aTakeOwnership: Boolean)

 

SwiftArray<T>(void* aFromArray, Boolean aTakeOwnership)

 

Sub New(aFromArray As Ptr(Of Void), aTakeOwnership As Boolean)

Parameters:

  • aFromArray:
  • aTakeOwnership:

constructor Copy(SwiftArray<T>)

 

constructor Copy(var aValue: SwiftArray<T>)

 

SwiftArray<T> Copy(ref SwiftArray<T> aValue)

 

init(Copy aValue: SwiftArray<T>)

 

SwiftArray<T> Copy(__ref SwiftArray<T> aValue)

 

Sub New Copy(ByRef aValue As SwiftArray<T>)

Parameters:

  • aValue:

append (T) iOS, iOS Simulator, Mac Catalyst, macOS

 

method append(aVal: T)

 

void append(T aVal)

 

func append(_ aVal: T)

 

void append(T aVal)

 

Sub append(aVal As T)

Parameters:

  • aVal:

append (T) UIKit for Mac

 

method append(aVal: T)

 

append(T aVal)

 

func append(_ aVal: T)

 

append(T aVal)

 

Sub append(aVal As T)

Parameters:

  • aVal:

Equals (Object): Boolean  virtual    (declared in Object) iOS, iOS Simulator, Mac Catalyst, macOS

 

method Equals(aOther: Object): Boolean

 

Boolean Equals(Object aOther)

 

func Equals(_ aOther: Object) -> Boolean

 

Boolean Equals(Object aOther)

 

Function Equals(aOther As Object) As Boolean

Parameters:

  • aOther:

Equals (Object): Boolean  virtual    (declared in Object) UIKit for Mac

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)

 

Function Equals(obj As Object) As Boolean

Parameters:

  • obj: the reference to compare this with.

Finalize  protected virtual    (declared in Object) UIKit for Mac

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

 

Finalize()

 

func Finalize()

 

Finalize()

 

Sub Finalize()

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()

 

Function GetHashCode() As Int32

GetType    (declared in Object)

Returns the actual type of this class

 

method GetType: Type

 

Type GetType()

 

func GetType() -> Type

 

Type GetType()

 

Function GetType() As Type

removeAt

 

method removeAt(aIndex: IntPtr): T

 

T removeAt(IntPtr aIndex)

 

func removeAt(_ aIndex: IntPtr) -> T

 

T removeAt(IntPtr aIndex)

 

Function removeAt(aIndex As IntPtr) As T

Parameters:

  • aIndex:

removeFirst

 

method removeFirst: T

 

T removeFirst()

 

func removeFirst() -> T

 

T removeFirst()

 

Function removeFirst() As T

removeLast

 

method removeLast: T

 

T removeLast()

 

func removeLast() -> T

 

T removeLast()

 

Function removeLast() As T

ToString  virtual    (declared in Object)

Gets the string representation of this method.

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String