SwiftArray<T>
Overview
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.System
- Platforms: iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS, watchOS Simulator
- Ancestry: ValueType | SwiftArray<T>
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
method append(aVal: T)
void append(T aVal)
func append(_ aVal: T)
void 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 virtual (declared in Object)
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void 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)
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.
Array
property Array: IntPtr read;
IntPtr Array { get; }
var Array: IntPtr { get{} }
IntPtr Array { __get; }
ReadOnly Property Array() As IntPtr
Item
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
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
method append(aVal: T)
void append(T aVal)
func append(_ aVal: T)
void append(T aVal)
Sub append(aVal As T)
Parameters:
- aVal:
Equals virtual (declared in Object)
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void 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.