List<T>

Overview

Generic list class implementation.

Location


 

constructor

 

constructor

 

List<T>()

 

init()

 

List<T>()

 

Sub New()

constructor (Int32)

 

constructor(aCapacity: Int32)

 

List<T>(Int32 aCapacity)

 

init(_ aCapacity: Int32)

 

List<T>(Int32 aCapacity)

 

Sub New(aCapacity As Int32)

Parameters:

  • aCapacity:

constructor (ImmutableList<T>)

 

constructor(aItems: ImmutableList<T>)

 

List<T>(ImmutableList<T> aItems)

 

init(_ aItems: ImmutableList<T>)

 

List<T>(ImmutableList<T> aItems)

 

Sub New(aItems As ImmutableList<T>)

Parameters:

  • aItems:

constructor (IEnumerable<T>)

 

constructor(aSequence: IEnumerable<T>)

 

List<T>(IEnumerable<T> aSequence)

 

init(_ aSequence: IEnumerable<T>)

 

List<T>(IEnumerable<T> aSequence)

 

Sub New(aSequence As IEnumerable<T>)

Parameters:

  • aSequence:

constructor (array of T)

 

constructor(params aArray: array of T)

 

List<T>(params T[] aArray)

 

init(_ aArray: T...)

 

List<T>(T[]... aArray)

 

Sub New(ParamArray aArray As T())

Parameters:

  • aArray:

Add (T)

 

method Add(anItem: T)

 

void Add(T anItem)

 

func Add(_ anItem: T)

 

void Add(T anItem)

 

Sub Add(anItem As T)

Parameters:

  • anItem:

Add (Object)

 

method Add(val: Object)

 

void Add(Object val)

 

func Add(_ val: Object)

 

void Add(Object val)

 

Sub Add(val As Object)

Parameters:

  • val:

AddRange (nullable array of T)

 

method AddRange(Items: nullable array of T)

 

void AddRange(T[]? Items)

 

func AddRange(_ Items: T...?)

 

void AddRange(T[] Items)

 

Sub AddRange(Items As T()?)

Parameters:

  • Items:

 

method AddRange(Items: nullable RemObjects.Elements.System.ImmutableList<T>)

 

func AddRange(_ Items: RemObjects.Elements.System.ImmutableList<T>?)

 

Sub AddRange(Items As RemObjects.Elements.System.ImmutableList<T>?)

Parameters:

  • Items:

Capacity    (declared in ImmutableList<T>)

Returns the capacity of this list.

 

property Capacity: Int32 read;

 

Int32 Capacity { get; }

 

var Capacity: Int32 { get{} }

 

Int32 Capacity { __get; }

 

ReadOnly Property Capacity() As Int32

Clear  override virtual

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

 

Sub Clear()

Contains (T): Boolean

Returns true if this list contains a matching object.

 

method Contains(anItem: T): Boolean

 

Boolean Contains(T anItem)

 

func Contains(_ anItem: T) -> Boolean

 

Boolean Contains(T anItem)

 

Function Contains(anItem As T) As Boolean

Parameters:

  • anItem:

Contains (Object): Boolean

Returns true if this list contains a matching object.

 

method Contains(val: Object): Boolean

 

Boolean Contains(Object val)

 

func Contains(_ val: Object) -> Boolean

 

Boolean Contains(Object val)

 

Function Contains(val As Object) As Boolean

Parameters:

  • val:

CopyTo (not nullable array of T)    (declared in ImmutableList<T>)

 

method CopyTo(array: not nullable array of T)

 

void CopyTo(T[]! array)

 

func CopyTo(_ array: T...)

 

void CopyTo(T[] array)

 

Sub CopyTo(array As T())

Parameters:

  • array:

CopyTo (not nullable array of T, Int32)    (declared in ImmutableList<T>)

 

method CopyTo(array: not nullable array of T; arrayIndex: Int32)

 

void CopyTo(T[]! array, Int32 arrayIndex)

 

func CopyTo(_ array: T..., _ arrayIndex: Int32)

 

void CopyTo(T[] array, Int32 arrayIndex)

 

Sub CopyTo(array As T(), arrayIndex As Int32)

Parameters:

  • array:
  • arrayIndex:

CopyTo (Int32, not nullable array of T, Int32, Int32)    (declared in ImmutableList<T>)

 

method CopyTo(index: Int32; array: not nullable array of T; arrayIndex: Int32; count: Int32)

 

void CopyTo(Int32 index, T[]! array, Int32 arrayIndex, Int32 count)

 

func CopyTo(_ index: Int32, _ array: T..., _ arrayIndex: Int32, _ count: Int32)

 

void CopyTo(Int32 index, T[] array, Int32 arrayIndex, Int32 count)

 

Sub CopyTo(index As Int32, array As T(), arrayIndex As Int32, count As Int32)

Parameters:

  • index:
  • array:
  • arrayIndex:
  • count:

Count  virtual    (declared in ImmutableList<T>)

returns the number of elements in this list.

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Int32 Count { __get; }

 

ReadOnly Property Count() As Int32

Equals  virtual    (declared in Object)

Default constructor.

 

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: the reference to compare this with.

Exists    (declared in ImmutableList<T>)

Returns true if a predicate succeeds on an item in this list.

 

method Exists(Match: Predicate<T>): Boolean

 

Boolean Exists(Predicate<T> Match)

 

func Exists(_ Match: Predicate<T>) -> Boolean

 

Boolean Exists(Predicate<T> Match)

 

Function Exists(Match As Predicate<T>) As Boolean

Parameters:

  • Match:

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

Find    (declared in ImmutableList<T>)

Returns value for the first time a predicate succeeds on an item in this list.

 

method Find(Match: Predicate<T>): T

 

T Find(Predicate<T> Match)

 

func Find(_ Match: Predicate<T>) -> T

 

T Find(Predicate<T> Match)

 

Function Find(Match As Predicate<T>) As T

Parameters:

  • Match:

FindAll    (declared in ImmutableList<T>)

Returns all values for the values a predicate succeeds on this list.

 

method FindAll(Match: Predicate<T>): not nullable RemObjects.Elements.System.List<T>

 

RemObjects.Elements.System.List<T>! FindAll(Predicate<T> Match)

 

func FindAll(_ Match: Predicate<T>) -> RemObjects.Elements.System.List<T>

 

RemObjects.Elements.System.List<T> FindAll(Predicate<T> Match)

 

Function FindAll(Match As Predicate<T>) As RemObjects.Elements.System.List<T>

Parameters:

  • Match:

FindIndex (Predicate<T>): Int32    (declared in ImmutableList<T>)

Returns the index of an item in this list for a given predicate.

 

method FindIndex(Match: Predicate<T>): Int32

 

Int32 FindIndex(Predicate<T> Match)

 

func FindIndex(_ Match: Predicate<T>) -> Int32

 

Int32 FindIndex(Predicate<T> Match)

 

Function FindIndex(Match As Predicate<T>) As Int32

Parameters:

  • Match:

FindIndex (Int32, Int32, Predicate<T>): Int32    (declared in ImmutableList<T>)

Returns the index of an item in this list for a given predicate.

 

method FindIndex(StartIndex: Int32; aCount: Int32; Match: Predicate<T>): Int32

 

Int32 FindIndex(Int32 StartIndex, Int32 aCount, Predicate<T> Match)

 

func FindIndex(_ StartIndex: Int32, _ aCount: Int32, _ Match: Predicate<T>) -> Int32

 

Int32 FindIndex(Int32 StartIndex, Int32 aCount, Predicate<T> Match)

 

Function FindIndex(StartIndex As Int32, aCount As Int32, Match As Predicate<T>) As Int32

Parameters:

  • StartIndex:
  • aCount:
  • Match:

FindIndex (Int32, Predicate<T>): Int32    (declared in ImmutableList<T>)

Returns the index of an item in this list for a given predicate.

 

method FindIndex(StartIndex: Int32; Match: Predicate<T>): Int32

 

Int32 FindIndex(Int32 StartIndex, Predicate<T> Match)

 

func FindIndex(_ StartIndex: Int32, _ Match: Predicate<T>) -> Int32

 

Int32 FindIndex(Int32 StartIndex, Predicate<T> Match)

 

Function FindIndex(StartIndex As Int32, Match As Predicate<T>) As Int32

Parameters:

  • StartIndex:
  • Match:

ForEach    (declared in ImmutableList<T>)

 

method ForEach(Action: Action<T>)

 

void ForEach(Action<T> Action)

 

func ForEach(_ Action: Action<T>)

 

void ForEach(Action<T> Action)

 

Sub ForEach(Action As Action<T>)

Parameters:

  • Action:

GetEnumerator    (declared in ImmutableList<T>)

Iterator for this object.

 

method GetEnumerator: not nullable RemObjects.Elements.System.IEnumerator<T>

 

func GetEnumerator() -> RemObjects.Elements.System.IEnumerator<T>

 

Function GetEnumerator() As RemObjects.Elements.System.IEnumerator<T>

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

IndexOf    (declared in ImmutableList<T>)

Returns the index of an object.

 

method IndexOf(anItem: T): Int32

 

Int32 IndexOf(T anItem)

 

func IndexOf(_ anItem: T) -> Int32

 

Int32 IndexOf(T anItem)

 

Function IndexOf(anItem As T) As Int32

Parameters:

  • anItem:

Insert

 

method Insert(Index: Int32; anItem: T)

 

void Insert(Int32 Index, T anItem)

 

func Insert(_ Index: Int32, _ anItem: T)

 

void Insert(Int32 Index, T anItem)

 

Sub Insert(Index As Int32, anItem As T)

Parameters:

  • Index:
  • anItem:

InsertRange (Int32, not nullable array of T)

 

method InsertRange(Index: Int32; Items: not nullable array of T)

 

void InsertRange(Int32 Index, T[]! Items)

 

func InsertRange(_ Index: Int32, _ Items: T...)

 

void InsertRange(Int32 Index, T[] Items)

 

Sub InsertRange(Index As Int32, Items As T())

Parameters:

  • Index:
  • Items:

 

method InsertRange(Index: Int32; Items: not nullable RemObjects.Elements.System.ImmutableList<T>)

 

void InsertRange(Int32 Index, RemObjects.Elements.System.ImmutableList<T>! Items)

 

func InsertRange(_ Index: Int32, _ Items: RemObjects.Elements.System.ImmutableList<T>)

 

void InsertRange(Int32 Index, RemObjects.Elements.System.ImmutableList<T> Items)

 

Sub InsertRange(Index As Int32, Items As RemObjects.Elements.System.ImmutableList<T>)

Parameters:

  • Index:
  • Items:

Item  override virtual

 

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

 

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

 

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

 

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

 

Property Item(i As Int32) As T

LastIndexOf    (declared in ImmutableList<T>)

Returns the last index of an object.

 

method LastIndexOf(anItem: T): Int32

 

Int32 LastIndexOf(T anItem)

 

func LastIndexOf(_ anItem: T) -> Int32

 

Int32 LastIndexOf(T anItem)

 

Function LastIndexOf(anItem As T) As Int32

Parameters:

  • anItem:

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

Remove (T): Boolean

 

method Remove(anItem: T): Boolean

 

Boolean Remove(T anItem)

 

func Remove(_ anItem: T) -> Boolean

 

Boolean Remove(T anItem)

 

Function Remove(anItem As T) As Boolean

Parameters:

  • anItem:

Remove (Object): Boolean

 

method Remove(val: Object): Boolean

 

Boolean Remove(Object val)

 

func Remove(_ val: Object) -> Boolean

 

Boolean Remove(Object val)

 

Function Remove(val As Object) As Boolean

Parameters:

  • val:

RemoveAt

 

method RemoveAt(Index: Int32)

 

void RemoveAt(Int32 Index)

 

func RemoveAt(_ Index: Int32)

 

void RemoveAt(Int32 Index)

 

Sub RemoveAt(Index As Int32)

Parameters:

  • Index:

RemoveRange

 

method RemoveRange(Index: Int32; aCount: Int32)

 

void RemoveRange(Int32 Index, Int32 aCount)

 

func RemoveRange(_ Index: Int32, _ aCount: Int32)

 

void RemoveRange(Int32 Index, Int32 aCount)

 

Sub RemoveRange(Index As Int32, aCount As Int32)

Parameters:

  • Index:
  • aCount:

Sort

 

method Sort(Comparison: not nullable RemObjects.Elements.System.Comparison<T>)

 

void Sort(RemObjects.Elements.System.Comparison<T>! Comparison)

 

func Sort(_ Comparison: RemObjects.Elements.System.Comparison<T>)

 

void Sort(RemObjects.Elements.System.Comparison<T> Comparison)

 

Sub Sort(Comparison As RemObjects.Elements.System.Comparison<T>)

Parameters:

  • Comparison:

ToArray    (declared in ImmutableList<T>)

Convert this list to an array.

 

method ToArray: not nullable array of T

 

T[]! ToArray()

 

func ToArray() -> T...

 

T[] ToArray()

 

Function ToArray() As T()

ToNSArray    (declared in ImmutableList<T>) iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS, watchOS Simulator

Convert this list to an NSArray.

 

method ToNSArray: not nullable NSArray<T>

 

NSArray<T>! ToNSArray()

 

func ToNSArray() -> NSArray<T>

 

NSArray<T> ToNSArray()

 

Function ToNSArray() As NSArray<T>

ToNSMutableArray    (declared in ImmutableList<T>) iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS, watchOS Simulator

Convert this list to an NSMutableArray.

 

method ToNSMutableArray: not nullable NSMutableArray<T>

 

NSMutableArray<T>! ToNSMutableArray()

 

func ToNSMutableArray() -> NSMutableArray<T>

 

NSMutableArray<T> ToNSMutableArray()

 

Function ToNSMutableArray() As NSMutableArray<T>

ToString  override virtual    (declared in ImmutableList<T>)

 

method ToString: not nullable String

 

String! ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

TrueForAll    (declared in ImmutableList<T>)

Returns true if the predicate returns true on all values in this list.

 

method TrueForAll(Match: Predicate<T>): Boolean

 

Boolean TrueForAll(Predicate<T> Match)

 

func TrueForAll(_ Match: Predicate<T>) -> Boolean

 

Boolean TrueForAll(Predicate<T> Match)

 

Function TrueForAll(Match As Predicate<T>) As Boolean

Parameters:

  • Match:

 

Capacity    (declared in ImmutableList<T>)

Returns the capacity of this list.

 

property Capacity: Int32 read;

 

Int32 Capacity { get; }

 

var Capacity: Int32 { get{} }

 

Int32 Capacity { __get; }

 

ReadOnly Property Capacity() As Int32

Count  virtual    (declared in ImmutableList<T>)

returns the number of elements in this list.

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Int32 Count { __get; }

 

ReadOnly Property Count() As Int32

Item  override virtual

 

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

 

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

 

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

 

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

 

Property Item(i As Int32) 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

 

List<T>()

 

init()

 

List<T>()

 

Sub New()

constructor (Int32)

 

constructor(aCapacity: Int32)

 

List<T>(Int32 aCapacity)

 

init(_ aCapacity: Int32)

 

List<T>(Int32 aCapacity)

 

Sub New(aCapacity As Int32)

Parameters:

  • aCapacity:

constructor (ImmutableList<T>)

 

constructor(aItems: ImmutableList<T>)

 

List<T>(ImmutableList<T> aItems)

 

init(_ aItems: ImmutableList<T>)

 

List<T>(ImmutableList<T> aItems)

 

Sub New(aItems As ImmutableList<T>)

Parameters:

  • aItems:

constructor (IEnumerable<T>)

 

constructor(aSequence: IEnumerable<T>)

 

List<T>(IEnumerable<T> aSequence)

 

init(_ aSequence: IEnumerable<T>)

 

List<T>(IEnumerable<T> aSequence)

 

Sub New(aSequence As IEnumerable<T>)

Parameters:

  • aSequence:

constructor (array of T)

 

constructor(params aArray: array of T)

 

List<T>(params T[] aArray)

 

init(_ aArray: T...)

 

List<T>(T[]... aArray)

 

Sub New(ParamArray aArray As T())

Parameters:

  • aArray:

Add (T)

 

method Add(anItem: T)

 

void Add(T anItem)

 

func Add(_ anItem: T)

 

void Add(T anItem)

 

Sub Add(anItem As T)

Parameters:

  • anItem:

Add (Object)

 

method Add(val: Object)

 

void Add(Object val)

 

func Add(_ val: Object)

 

void Add(Object val)

 

Sub Add(val As Object)

Parameters:

  • val:

AddRange (nullable array of T)

 

method AddRange(Items: nullable array of T)

 

void AddRange(T[]? Items)

 

func AddRange(_ Items: T...?)

 

void AddRange(T[] Items)

 

Sub AddRange(Items As T()?)

Parameters:

  • Items:

 

method AddRange(Items: nullable RemObjects.Elements.System.ImmutableList<T>)

 

func AddRange(_ Items: RemObjects.Elements.System.ImmutableList<T>?)

 

Sub AddRange(Items As RemObjects.Elements.System.ImmutableList<T>?)

Parameters:

  • Items:

Clear  override virtual

 

method Clear

 

void Clear()

 

func Clear()

 

void Clear()

 

Sub Clear()

Contains (T): Boolean

Returns true if this list contains a matching object.

 

method Contains(anItem: T): Boolean

 

Boolean Contains(T anItem)

 

func Contains(_ anItem: T) -> Boolean

 

Boolean Contains(T anItem)

 

Function Contains(anItem As T) As Boolean

Parameters:

  • anItem:

Contains (Object): Boolean

Returns true if this list contains a matching object.

 

method Contains(val: Object): Boolean

 

Boolean Contains(Object val)

 

func Contains(_ val: Object) -> Boolean

 

Boolean Contains(Object val)

 

Function Contains(val As Object) As Boolean

Parameters:

  • val:

CopyTo (not nullable array of T)    (declared in ImmutableList<T>)

 

method CopyTo(array: not nullable array of T)

 

void CopyTo(T[]! array)

 

func CopyTo(_ array: T...)

 

void CopyTo(T[] array)

 

Sub CopyTo(array As T())

Parameters:

  • array:

CopyTo (not nullable array of T, Int32)    (declared in ImmutableList<T>)

 

method CopyTo(array: not nullable array of T; arrayIndex: Int32)

 

void CopyTo(T[]! array, Int32 arrayIndex)

 

func CopyTo(_ array: T..., _ arrayIndex: Int32)

 

void CopyTo(T[] array, Int32 arrayIndex)

 

Sub CopyTo(array As T(), arrayIndex As Int32)

Parameters:

  • array:
  • arrayIndex:

CopyTo (Int32, not nullable array of T, Int32, Int32)    (declared in ImmutableList<T>)

 

method CopyTo(index: Int32; array: not nullable array of T; arrayIndex: Int32; count: Int32)

 

void CopyTo(Int32 index, T[]! array, Int32 arrayIndex, Int32 count)

 

func CopyTo(_ index: Int32, _ array: T..., _ arrayIndex: Int32, _ count: Int32)

 

void CopyTo(Int32 index, T[] array, Int32 arrayIndex, Int32 count)

 

Sub CopyTo(index As Int32, array As T(), arrayIndex As Int32, count As Int32)

Parameters:

  • index:
  • array:
  • arrayIndex:
  • count:

Equals  virtual    (declared in Object)

Default constructor.

 

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: the reference to compare this with.

Exists    (declared in ImmutableList<T>)

Returns true if a predicate succeeds on an item in this list.

 

method Exists(Match: Predicate<T>): Boolean

 

Boolean Exists(Predicate<T> Match)

 

func Exists(_ Match: Predicate<T>) -> Boolean

 

Boolean Exists(Predicate<T> Match)

 

Function Exists(Match As Predicate<T>) As Boolean

Parameters:

  • Match:

Finalize  protected virtual    (declared in Object)

 

method Finalize

 

void Finalize()

 

func Finalize()

 

void Finalize()

 

Sub Finalize()

Find    (declared in ImmutableList<T>)

Returns value for the first time a predicate succeeds on an item in this list.

 

method Find(Match: Predicate<T>): T

 

T Find(Predicate<T> Match)

 

func Find(_ Match: Predicate<T>) -> T

 

T Find(Predicate<T> Match)

 

Function Find(Match As Predicate<T>) As T

Parameters:

  • Match:

FindAll    (declared in ImmutableList<T>)

Returns all values for the values a predicate succeeds on this list.

 

method FindAll(Match: Predicate<T>): not nullable RemObjects.Elements.System.List<T>

 

RemObjects.Elements.System.List<T>! FindAll(Predicate<T> Match)

 

func FindAll(_ Match: Predicate<T>) -> RemObjects.Elements.System.List<T>

 

RemObjects.Elements.System.List<T> FindAll(Predicate<T> Match)

 

Function FindAll(Match As Predicate<T>) As RemObjects.Elements.System.List<T>

Parameters:

  • Match:

FindIndex (Predicate<T>): Int32    (declared in ImmutableList<T>)

Returns the index of an item in this list for a given predicate.

 

method FindIndex(Match: Predicate<T>): Int32

 

Int32 FindIndex(Predicate<T> Match)

 

func FindIndex(_ Match: Predicate<T>) -> Int32

 

Int32 FindIndex(Predicate<T> Match)

 

Function FindIndex(Match As Predicate<T>) As Int32

Parameters:

  • Match:

FindIndex (Int32, Int32, Predicate<T>): Int32    (declared in ImmutableList<T>)

Returns the index of an item in this list for a given predicate.

 

method FindIndex(StartIndex: Int32; aCount: Int32; Match: Predicate<T>): Int32

 

Int32 FindIndex(Int32 StartIndex, Int32 aCount, Predicate<T> Match)

 

func FindIndex(_ StartIndex: Int32, _ aCount: Int32, _ Match: Predicate<T>) -> Int32

 

Int32 FindIndex(Int32 StartIndex, Int32 aCount, Predicate<T> Match)

 

Function FindIndex(StartIndex As Int32, aCount As Int32, Match As Predicate<T>) As Int32

Parameters:

  • StartIndex:
  • aCount:
  • Match:

FindIndex (Int32, Predicate<T>): Int32    (declared in ImmutableList<T>)

Returns the index of an item in this list for a given predicate.

 

method FindIndex(StartIndex: Int32; Match: Predicate<T>): Int32

 

Int32 FindIndex(Int32 StartIndex, Predicate<T> Match)

 

func FindIndex(_ StartIndex: Int32, _ Match: Predicate<T>) -> Int32

 

Int32 FindIndex(Int32 StartIndex, Predicate<T> Match)

 

Function FindIndex(StartIndex As Int32, Match As Predicate<T>) As Int32

Parameters:

  • StartIndex:
  • Match:

ForEach    (declared in ImmutableList<T>)

 

method ForEach(Action: Action<T>)

 

void ForEach(Action<T> Action)

 

func ForEach(_ Action: Action<T>)

 

void ForEach(Action<T> Action)

 

Sub ForEach(Action As Action<T>)

Parameters:

  • Action:

GetEnumerator    (declared in ImmutableList<T>)

Iterator for this object.

 

method GetEnumerator: not nullable RemObjects.Elements.System.IEnumerator<T>

 

func GetEnumerator() -> RemObjects.Elements.System.IEnumerator<T>

 

Function GetEnumerator() As RemObjects.Elements.System.IEnumerator<T>

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

IndexOf    (declared in ImmutableList<T>)

Returns the index of an object.

 

method IndexOf(anItem: T): Int32

 

Int32 IndexOf(T anItem)

 

func IndexOf(_ anItem: T) -> Int32

 

Int32 IndexOf(T anItem)

 

Function IndexOf(anItem As T) As Int32

Parameters:

  • anItem:

Insert

 

method Insert(Index: Int32; anItem: T)

 

void Insert(Int32 Index, T anItem)

 

func Insert(_ Index: Int32, _ anItem: T)

 

void Insert(Int32 Index, T anItem)

 

Sub Insert(Index As Int32, anItem As T)

Parameters:

  • Index:
  • anItem:

InsertRange (Int32, not nullable array of T)

 

method InsertRange(Index: Int32; Items: not nullable array of T)

 

void InsertRange(Int32 Index, T[]! Items)

 

func InsertRange(_ Index: Int32, _ Items: T...)

 

void InsertRange(Int32 Index, T[] Items)

 

Sub InsertRange(Index As Int32, Items As T())

Parameters:

  • Index:
  • Items:

 

method InsertRange(Index: Int32; Items: not nullable RemObjects.Elements.System.ImmutableList<T>)

 

void InsertRange(Int32 Index, RemObjects.Elements.System.ImmutableList<T>! Items)

 

func InsertRange(_ Index: Int32, _ Items: RemObjects.Elements.System.ImmutableList<T>)

 

void InsertRange(Int32 Index, RemObjects.Elements.System.ImmutableList<T> Items)

 

Sub InsertRange(Index As Int32, Items As RemObjects.Elements.System.ImmutableList<T>)

Parameters:

  • Index:
  • Items:

LastIndexOf    (declared in ImmutableList<T>)

Returns the last index of an object.

 

method LastIndexOf(anItem: T): Int32

 

Int32 LastIndexOf(T anItem)

 

func LastIndexOf(_ anItem: T) -> Int32

 

Int32 LastIndexOf(T anItem)

 

Function LastIndexOf(anItem As T) As Int32

Parameters:

  • anItem:

Remove (T): Boolean

 

method Remove(anItem: T): Boolean

 

Boolean Remove(T anItem)

 

func Remove(_ anItem: T) -> Boolean

 

Boolean Remove(T anItem)

 

Function Remove(anItem As T) As Boolean

Parameters:

  • anItem:

Remove (Object): Boolean

 

method Remove(val: Object): Boolean

 

Boolean Remove(Object val)

 

func Remove(_ val: Object) -> Boolean

 

Boolean Remove(Object val)

 

Function Remove(val As Object) As Boolean

Parameters:

  • val:

RemoveAt

 

method RemoveAt(Index: Int32)

 

void RemoveAt(Int32 Index)

 

func RemoveAt(_ Index: Int32)

 

void RemoveAt(Int32 Index)

 

Sub RemoveAt(Index As Int32)

Parameters:

  • Index:

RemoveRange

 

method RemoveRange(Index: Int32; aCount: Int32)

 

void RemoveRange(Int32 Index, Int32 aCount)

 

func RemoveRange(_ Index: Int32, _ aCount: Int32)

 

void RemoveRange(Int32 Index, Int32 aCount)

 

Sub RemoveRange(Index As Int32, aCount As Int32)

Parameters:

  • Index:
  • aCount:

Sort

 

method Sort(Comparison: not nullable RemObjects.Elements.System.Comparison<T>)

 

void Sort(RemObjects.Elements.System.Comparison<T>! Comparison)

 

func Sort(_ Comparison: RemObjects.Elements.System.Comparison<T>)

 

void Sort(RemObjects.Elements.System.Comparison<T> Comparison)

 

Sub Sort(Comparison As RemObjects.Elements.System.Comparison<T>)

Parameters:

  • Comparison:

ToArray    (declared in ImmutableList<T>)

Convert this list to an array.

 

method ToArray: not nullable array of T

 

T[]! ToArray()

 

func ToArray() -> T...

 

T[] ToArray()

 

Function ToArray() As T()

ToNSArray    (declared in ImmutableList<T>) iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS, watchOS Simulator

Convert this list to an NSArray.

 

method ToNSArray: not nullable NSArray<T>

 

NSArray<T>! ToNSArray()

 

func ToNSArray() -> NSArray<T>

 

NSArray<T> ToNSArray()

 

Function ToNSArray() As NSArray<T>

ToNSMutableArray    (declared in ImmutableList<T>) iOS, iOS Simulator, Mac Catalyst, macOS, tvOS, tvOS Simulator, visionOS, visionOS Simulator, watchOS, watchOS Simulator

Convert this list to an NSMutableArray.

 

method ToNSMutableArray: not nullable NSMutableArray<T>

 

NSMutableArray<T>! ToNSMutableArray()

 

func ToNSMutableArray() -> NSMutableArray<T>

 

NSMutableArray<T> ToNSMutableArray()

 

Function ToNSMutableArray() As NSMutableArray<T>

ToString  override virtual    (declared in ImmutableList<T>)

 

method ToString: not nullable String

 

String! ToString()

 

func ToString() -> String

 

String ToString()

 

Function ToString() As String

TrueForAll    (declared in ImmutableList<T>)

Returns true if the predicate returns true on all values in this list.

 

method TrueForAll(Match: Predicate<T>): Boolean

 

Boolean TrueForAll(Predicate<T> Match)

 

func TrueForAll(_ Match: Predicate<T>) -> Boolean

 

Boolean TrueForAll(Predicate<T> Match)

 

Function TrueForAll(Match As Predicate<T>) As Boolean

Parameters:

  • Match: