Array
Overview
Non generic base for all array.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.System
constructor (declared in Object)
constructor
Array()
init()
Array()
Sub New()
BinarySearch<T,V>
Searches for a value of type V inside the array. Based on the passed Comparer. This presumes the array is already sorted based on the comparer passed.
class method BinarySearch<T,V>(aVal: array of T; aInput: V; aComparer: Func<T,V,RemObjects.Elements.System.Int32>): Int32
static Int32 BinarySearch<T,V>(T[] aVal, V aInput, Func<T,V,RemObjects.Elements.System.Int32> aComparer)
static func BinarySearch<T,V>(_ aVal: T..., _ aInput: V, _ aComparer: Func<T,V,RemObjects.Elements.System.Int32>) -> Int32
static Int32 BinarySearch<T,V>(T[] aVal, V aInput, Func<T,V,RemObjects.Elements.System.Int32> aComparer)
Shared Function BinarySearch<T,V>(aVal As T(), aInput As V, aComparer As Func<T,V,RemObjects.Elements.System.Int32>) As Int32
Parameters:
- aVal:
- aInput:
- aComparer:
Clear<T>
Parameters:
- aVal:
- Index:
- Length:
Static method copy between two arrays.
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)
Shared Sub Copy<T>(aSource As T(), aDest As T(), aCount As Int32)
Parameters:
- aSource: The source array
- aDest: The destination array
- aCount: The number of elements to copy
Static method copy between two arrays.
class method Copy<T>(aSource: array of T; aSourceOffset: Int32; aDest: array of T; aDestOffset: Int32; aCount: Int32)
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)
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()
Get virtual abstract
Virtual function overriden by the array implementation, returns the value at index 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()
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
Length
Contains the length of this array.
property Length: Int32 read;
Int32 Length { get; }
var Length: Int32 { get{} }
Int32 Length { __get; }
ReadOnly Property Length() As Int32
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
Set virtual abstract
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)
Shared Sub Sort<T>(aVal As T(), Comparison As Comparison<T>)
Parameters:
- aVal:
- Comparison:
Parameters:
- aVal:
- L:
- R:
- Comparison:
SubArray<T> (array of T, Range): array of T
class method SubArray<T>(aSource: array of T; aRange: Range): array of T
static T[] SubArray<T>(T[] aSource, Range aRange)
static func SubArray<T>(_ aSource: T..., _ aRange: Range) -> T...
static T[] SubArray<T>(T[] aSource, Range aRange)
Shared Function SubArray<T>(aSource As T(), aRange As Range) As T()
Parameters:
- aSource:
- aRange:
Parameters:
- aSource:
- aStart:
- aCount:
ToString virtual (declared in Object)
Gets the string representation of this method.
Length
Contains the length of this array.
BinarySearch<T,V>
Searches for a value of type V inside the array. Based on the passed Comparer. This presumes the array is already sorted based on the comparer passed.
class method BinarySearch<T,V>(aVal: array of T; aInput: V; aComparer: Func<T,V,RemObjects.Elements.System.Int32>): Int32
static Int32 BinarySearch<T,V>(T[] aVal, V aInput, Func<T,V,RemObjects.Elements.System.Int32> aComparer)
static func BinarySearch<T,V>(_ aVal: T..., _ aInput: V, _ aComparer: Func<T,V,RemObjects.Elements.System.Int32>) -> Int32
static Int32 BinarySearch<T,V>(T[] aVal, V aInput, Func<T,V,RemObjects.Elements.System.Int32> aComparer)
Shared Function BinarySearch<T,V>(aVal As T(), aInput As V, aComparer As Func<T,V,RemObjects.Elements.System.Int32>) As Int32
Parameters:
- aVal:
- aInput:
- aComparer:
Clear<T>
Parameters:
- aVal:
- Index:
- Length:
Static method copy between two arrays.
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)
Shared Sub Copy<T>(aSource As T(), aDest As T(), aCount As Int32)
Parameters:
- aSource: The source array
- aDest: The destination array
- aCount: The number of elements to copy
Static method copy between two arrays.
class method Copy<T>(aSource: array of T; aSourceOffset: Int32; aDest: array of T; aDestOffset: Int32; aCount: Int32)
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)
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)
Shared Sub Sort<T>(aVal As T(), Comparison As Comparison<T>)
Parameters:
- aVal:
- Comparison:
Parameters:
- aVal:
- L:
- R:
- Comparison:
SubArray<T> (array of T, Range): array of T
class method SubArray<T>(aSource: array of T; aRange: Range): array of T
static T[] SubArray<T>(T[] aSource, Range aRange)
static func SubArray<T>(_ aSource: T..., _ aRange: Range) -> T...
static T[] SubArray<T>(T[] aSource, Range aRange)
Shared Function SubArray<T>(aSource As T(), aRange As Range) As T()
Parameters:
- aSource:
- aRange:
Parameters:
- aSource:
- aStart:
- aCount:
constructor (declared in Object)
constructor
Array()
init()
Array()
Sub New()
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()
Get virtual abstract
Virtual function overriden by the array implementation, returns the value at index 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()
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
Set virtual abstract
Parameters:
- i:
- v:
ToString virtual (declared in Object)
Gets the string representation of this method.