List<T>
Overview
List structure class.
Location
-
Reference:
- Elements.dll .NET, .NET Core 6.0, .NET Standard 2.0
- elements.jar Cooper
- Elements.fx Island, ToffeeV2
- libElements.fx Toffee
- Namespace: RemObjects.Elements.RTL
- Platforms: .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, Toffee, ToffeeV2
-
Mapped to:
- List
.NET, .NET Core 6.0, .NET Standard 2.0 - ArrayList
Cooper - RemObjects.Elements.System.List<T> Island
- NSMutableArray
Toffee, ToffeeV2
- List
- Ancestry: ImmutableList<T> | List<T>
constructor .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2
Creates a new list class.
constructor
List<T>()
init()
List<T>()
Sub New()
constructor $New() Toffee
init($New )
Parameters:
- :
constructor (ImmutableList<T>)
Creates a new list class.
constructor(Items: ImmutableList<T>)
List<T>(ImmutableList<T> Items)
init(_ Items: ImmutableList<T>)
List<T>(ImmutableList<T> Items)
Sub New(Items As ImmutableList<T>)
Parameters:
- Items:
constructor (IEnumerable<T>)
Creates a new list class.
constructor(Items: IEnumerable<T>)
List<T>(IEnumerable<T> Items)
// Toffee
init(_ Items: INSFastEnumeration<T>)
// ToffeeV2
init(_ Items: IEnumerable<T>)
List<T>(Iterable<T> Items)
Sub New(Items As IEnumerable<T>)
Parameters:
- Items:
constructor (array of T)
Creates a new list class.
constructor(params anArray: array of T)
List<T>(params T[] anArray)
init(_ anArray: T...)
List<T>(T[]... anArray)
Sub New(ParamArray anArray As T())
Parameters:
- anArray:
constructor withCapacity(Int32)
Creates a new isntance with a given capacity.
constructor withCapacity(aCapacity: Int32)
List<T> withCapacity(Int32 aCapacity)
init(withCapacity aCapacity: Int32)
List<T> withCapacity(Integer aCapacity)
Sub New withCapacity(aCapacity As Int32)
Parameters:
- aCapacity:
constructor withRepeatedValue(T, Int32)
Creates a new instance with the value aValue repeated aCount times.
constructor withRepeatedValue(aValue: T; aCount: Int32)
List<T> withRepeatedValue(T aValue, Int32 aCount)
init(withRepeatedValue aValue: T, _ aCount: Int32)
List<T> withRepeatedValue(T aValue, Integer aCount)
Sub New withRepeatedValue(aValue As T, aCount As Int32)
Parameters:
- aValue:
- aCount:
Add (T): T
Add an item to the list.
method Add(aItem: T): T
T Add(T aItem)
func Add(_ aItem: T) -> T
T Add(T aItem)
Function Add(aItem As T) As T
Parameters:
- aItem:
Add (nullable RemObjects.Elements.RTL.ImmutableList<T>)
Add a sequence of items to the list.
method Add(Items: nullable RemObjects.Elements.RTL.ImmutableList<T>)
void Add(RemObjects.Elements.RTL.ImmutableList<T>? Items)
// Toffee
func Add(_ Items: ImmutableList<T>)
// ToffeeV2
func Add(_ Items: RemObjects.Elements.RTL.ImmutableList<T>?)
void Add(ImmutableList<T> Items)
Sub Add(Items As RemObjects.Elements.RTL.ImmutableList<T>?)
Parameters:
- Items:
Add (nullable IEnumerable<T>)
Add a sequence of items to the list.
method Add(Items: nullable IEnumerable<T>)
void Add(IEnumerable<T>? Items)
// Toffee
func Add(_ Items: INSFastEnumeration<T>)
// ToffeeV2
func Add(_ Items: IEnumerable<T>?)
void Add(Iterable<T> Items)
Sub Add(Items As IEnumerable<T>?)
Parameters:
- Items:
Add (nullable RemObjects.Elements.RTL.List<T>) ToffeeV2
Add a sequence of items to the list.
func Add(_ Items: RemObjects.Elements.RTL.List<T>?)
Parameters:
- Items:
Add (array of T) Cooper, Island, Toffee, ToffeeV2
Add an array of items to the list.
method Add(params Items: nullable array of T)
void Add(params T[]? Items)
// Toffee
func Add(_ Items: T...)
// ToffeeV2
func Add(_ Items: T...?...)
void Add(T[]... Items)
Sub Add(ParamArray Items As T()?)
Parameters:
- Items:
Add (nullable array of T) .NET, .NET Core 6.0, .NET Standard 2.0
method Add(params Items: nullable array of T)
void Add(params T[]? Items)
func Add(_ Items: T...?...)
Sub Add(ParamArray Items As T()?)
Parameters:
- Items:
Contains (declared in ImmutableList<T>)
Returns true if this list contains aItem.
method Contains(aItem: T): Boolean
Boolean Contains(T aItem)
func Contains(_ aItem: T) -> Boolean
Boolean Contains(T aItem)
Function Contains(aItem As T) As Boolean
Parameters:
- aItem:
Count (declared in ImmutableList<T>)
Returns the item count in this list.
property Count: Int32 read;
Int32 Count { get; }
var Count: Int32 { get{} }
Integer Count { __get; }
ReadOnly Property Count() As Int32
Exists (Predicate<T>): Boolean (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Returns true if this list contains an element matching the predicate.
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:
Exists (Predicate<T>): Boolean (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method Exists(Match: Predicate<T>): Boolean
Boolean Exists(Predicate<T> Match)
func Exists(_ Match: Predicate<T>) -> Boolean
Function Exists(Match As Predicate<T>) As Boolean
Parameters:
- Match:
Find (Predicate<T>): T (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Returns the first match that matches the predicate.
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:
Find (Predicate<T>): T (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method Find(Match: Predicate<T>): T
T Find(Predicate<T> Match)
func Find(_ Match: Predicate<T>) -> T
Function Find(Match As Predicate<T>) As T
Parameters:
- Match:
FindAll (Predicate<T>): not nullable Iterable<T> (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Returns all matches that matches the predicate.
method FindAll(Match: Predicate<T>): not nullable IEnumerable<T>
IEnumerable<T>! FindAll(Predicate<T> Match)
// Toffee
func FindAll(_ Match: Predicate<T>) -> INSFastEnumeration<T>
// ToffeeV2
func FindAll(_ Match: Predicate<T>) -> IEnumerable<T>
Iterable<T> FindAll(Predicate<T> Match)
Function FindAll(Match As Predicate<T>) As IEnumerable<T>
Parameters:
- Match:
FindAll (Predicate<T>): not nullable IEnumerable<T> (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method FindAll(Match: Predicate<T>): not nullable IEnumerable<T>
IEnumerable<T>! FindAll(Predicate<T> Match)
func FindAll(_ Match: Predicate<T>) -> IEnumerable<T>
Function FindAll(Match As Predicate<T>) As IEnumerable<T>
Parameters:
- Match:
FindIndex (Predicate<T>): Integer (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Find the index of first matching item matching the predicate.
method FindIndex(Match: Predicate<T>): Int32
Int32 FindIndex(Predicate<T> Match)
func FindIndex(_ Match: Predicate<T>) -> Int32
Integer FindIndex(Predicate<T> Match)
Function FindIndex(Match As Predicate<T>) As Int32
Parameters:
- Match:
FindIndex (Integer, Integer, Predicate<T>): Integer (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Find the index of first matching item matching the predicate.
Parameters:
- StartIndex:
- aCount:
- Match:
FindIndex (Integer, Predicate<T>): Integer (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Find the index of first matching item matching the predicate.
Parameters:
- StartIndex:
- Match:
FindIndex (Predicate<T>): Int32 (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method FindIndex(Match: Predicate<T>): Int32
Int32 FindIndex(Predicate<T> Match)
func FindIndex(_ Match: Predicate<T>) -> Int32
Function FindIndex(Match As Predicate<T>) As Int32
Parameters:
- Match:
FindIndex (Int32, Int32, Predicate<T>): Int32 (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
Parameters:
- StartIndex:
- aCount:
- Match:
FindIndex (Int32, Predicate<T>): Int32 (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
Parameters:
- StartIndex:
- Match:
FirstObject (declared in ImmutableList<T>)
Returns the first element (or fails)
property FirstObject: not nullable T read;
T! FirstObject { get; }
var FirstObject: T { get{} }
T FirstObject { __get; }
ReadOnly Property FirstObject() As T
ForEach (Action<T>) (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Loops over al litems and triggers the action for each item.
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:
ForEach (Action<T>) (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method ForEach(Action: Action<T>)
void ForEach(Action<T> Action)
func ForEach(_ Action: Action<T>)
Sub ForEach(Action As Action<T>)
Parameters:
- Action:
GetSequence (declared in ImmutableList<T>) ToffeeV2
Returns a sequence of all items in this list.
func GetSequence() -> IEnumerable<T>
IndexOf (T): Integer (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Returns the index of matching item, or -1.
method IndexOf(aItem: T): Int32
Int32 IndexOf(T aItem)
func IndexOf(_ aItem: T) -> Int32
Integer IndexOf(T aItem)
Function IndexOf(aItem As T) As Int32
Parameters:
- aItem:
IndexOf (T): Int32 (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method IndexOf(aItem: T): Int32
Int32 IndexOf(T aItem)
func IndexOf(_ aItem: T) -> Int32
Function IndexOf(aItem As T) As Int32
Parameters:
- aItem:
Insert
Insert an item in the list at position aIndex.
method Insert(Index: Int32; aItem: T)
void Insert(Int32 Index, T aItem)
func Insert(_ Index: Int32, _ aItem: T)
void Insert(Integer Index, T aItem)
Sub Insert(Index As Int32, aItem As T)
Parameters:
- Index:
- aItem:
InsertRange (Integer, array of T) Cooper, Island, Toffee, ToffeeV2
method InsertRange(Index: Int32; Items: array of T)
void InsertRange(Int32 Index, T[] Items)
func InsertRange(_ Index: Int32, _ Items: T...)
void InsertRange(Integer Index, T[] Items)
Sub InsertRange(Index As Int32, Items As T())
Parameters:
- Index:
- Items:
Insert a range of elements at aIndex.
Parameters:
- Index:
- Items:
InsertRange (Int32, array of T) .NET, .NET Core 6.0, .NET Standard 2.0
method InsertRange(Index: Int32; Items: array of T)
void InsertRange(Int32 Index, T[] Items)
func InsertRange(_ Index: Int32, _ Items: T...)
Sub InsertRange(Index As Int32, Items As T())
Parameters:
- Index:
- Items:
Item (declared in ImmutableList<T>)
Indexer for the list.
property Item[i: Int32]: T read;
T Item[Int32 i] { get; }
subscript Item(_ i: Int32) -> T { get{} }
T Item[Integer i] { __get; }
ReadOnly Property Item(i As Int32) As T
Item
Access an item by index.
property Item[i: Int32]: T read write;
T Item[Int32 i] { get; set; }
subscript Item(_ i: Int32) -> T { get{} set{} }
T Item[Integer i] { __get; __set; }
Property Item(i As Int32) As T
JoinedString (String): not nullable String (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Join the items in this list together with separator as separator.
Parameters:
- aSeparator:
JoinedString (nullable String): not nullable String (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
Parameters:
- aSeparator:
LastIndexOf (T): Integer (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Returns the index of matching item, or -1, in reverse lookup order.
method LastIndexOf(aItem: T): Int32
Int32 LastIndexOf(T aItem)
func LastIndexOf(_ aItem: T) -> Int32
Integer LastIndexOf(T aItem)
Function LastIndexOf(aItem As T) As Int32
Parameters:
- aItem:
LastIndexOf (T): Int32 (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method LastIndexOf(aItem: T): Int32
Int32 LastIndexOf(T aItem)
func LastIndexOf(_ aItem: T) -> Int32
Function LastIndexOf(aItem As T) As Int32
Parameters:
- aItem:
LastObject (declared in ImmutableList<T>)
Returns the last object in the list, or fails.
property LastObject: not nullable T read;
T! LastObject { get; }
var LastObject: T { get{} }
T LastObject { __get; }
ReadOnly Property LastObject() As T
MutableVersion (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
creates a copy of the list as mutable list.
method MutableVersion: not nullable RemObjects.Elements.RTL.List<T>
RemObjects.Elements.RTL.List<T>! MutableVersion()
func MutableVersion() -> RemObjects.Elements.RTL.List<T>
RemObjects.Elements.RTL.List<T> MutableVersion()
Function MutableVersion() As RemObjects.Elements.RTL.List<T>
MutableVersion (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method MutableVersion: not nullable RemObjects.Elements.RTL.List<T>
RemObjects.Elements.RTL.List<T>! MutableVersion()
func MutableVersion() -> RemObjects.Elements.RTL.List<T>
Function MutableVersion() As RemObjects.Elements.RTL.List<T>
Remove (T): Boolean
Remove an item.
method Remove(aItem: T): Boolean
Boolean Remove(T aItem)
func Remove(_ aItem: T) -> Boolean
Boolean Remove(T aItem)
Function Remove(aItem As T) As Boolean
Parameters:
- aItem:
Remove (ImmutableList<T>)
method Remove(aItems: ImmutableList<T>)
void Remove(ImmutableList<T> aItems)
func Remove(_ aItems: ImmutableList<T>)
void Remove(ImmutableList<T> aItems)
Sub Remove(aItems As ImmutableList<T>)
Parameters:
- aItems:
Remove (IEnumerable<T>)
Remove a range of items.
method Remove(aItems: IEnumerable<T>)
void Remove(IEnumerable<T> aItems)
// Toffee
func Remove(_ aItems: INSFastEnumeration<T>)
// ToffeeV2
func Remove(_ aItems: IEnumerable<T>)
void Remove(Iterable<T> aItems)
Sub Remove(aItems As IEnumerable<T>)
Parameters:
- aItems:
RemoveAll .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2
Remove all items.
method RemoveAll
void RemoveAll()
func RemoveAll()
void RemoveAll()
Sub RemoveAll()
RemoveAll RemoveAll() virtual Toffee
func RemoveAll(RemoveAll )
Parameters:
- :
RemoveAt
Remove an item at the given index.
method RemoveAt(aIndex: Int32)
void RemoveAt(Int32 aIndex)
func RemoveAt(_ aIndex: Int32)
void RemoveAt(Integer aIndex)
Sub RemoveAt(aIndex As Int32)
Parameters:
- aIndex:
RemoveFirstObject .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2
Remove the first item.
method RemoveFirstObject
void RemoveFirstObject()
func RemoveFirstObject()
void RemoveFirstObject()
Sub RemoveFirstObject()
RemoveFirstObject RemoveFirstObject() virtual Toffee
func RemoveFirstObject(RemoveFirstObject )
Parameters:
- :
RemoveLastObject .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2
Remove the last item.
method RemoveLastObject
void RemoveLastObject()
func RemoveLastObject()
void RemoveLastObject()
Sub RemoveLastObject()
RemoveLastObject RemoveLastObject() virtual Toffee
func RemoveLastObject(RemoveLastObject )
Parameters:
- :
RemoveRange
Remove a range of items.
Parameters:
- aIndex:
- aCount:
ReplaceAt
Replace an item at a specific location.
method ReplaceAt(aIndex: Int32; aNewObject: T): T
T ReplaceAt(Int32 aIndex, T aNewObject)
func ReplaceAt(_ aIndex: Int32, _ aNewObject: T) -> T
T ReplaceAt(Integer aIndex, T aNewObject)
Function ReplaceAt(aIndex As Int32, aNewObject As T) As T
Parameters:
- aIndex:
- aNewObject:
ReplaceRange (Integer, Integer, ImmutableList<T>): T Cooper, Island, Toffee, ToffeeV2
Replace a range of items, essentially removes the range from aIndex to aIndex + aCount, then inserts aNewObjects.
method ReplaceRange(aIndex: Int32; aCount: Int32; aNewObjects: ImmutableList<T>): T
T ReplaceRange(Int32 aIndex, Int32 aCount, ImmutableList<T> aNewObjects)
func ReplaceRange(_ aIndex: Int32, _ aCount: Int32, _ aNewObjects: ImmutableList<T>) -> T
T ReplaceRange(Integer aIndex, Integer aCount, ImmutableList<T> aNewObjects)
Function ReplaceRange(aIndex As Int32, aCount As Int32, aNewObjects As ImmutableList<T>) As T
Parameters:
- aIndex:
- aCount:
- aNewObjects:
ReplaceRange (Int32, Int32, ImmutableList<T>): T .NET, .NET Core 6.0, .NET Standard 2.0
method ReplaceRange(aIndex: Int32; aCount: Int32; aNewObjects: ImmutableList<T>): T
T ReplaceRange(Int32 aIndex, Int32 aCount, ImmutableList<T> aNewObjects)
func ReplaceRange(_ aIndex: Int32, _ aCount: Int32, _ aNewObjects: ImmutableList<T>) -> T
Function ReplaceRange(aIndex As Int32, aCount As Int32, aNewObjects As ImmutableList<T>) As T
Parameters:
- aIndex:
- aCount:
- aNewObjects:
Sort (Comparison<T>) Cooper, Island, Toffee, ToffeeV2
Sort this list.
method Sort(Comparison: Comparison<T>)
void Sort(Comparison<T> Comparison)
func Sort(_ Comparison: Comparison<T>)
void Sort(Comparison<T> Comparison)
Sub Sort(Comparison As Comparison<T>)
Parameters:
- Comparison:
Sort (Comparison<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method Sort(Comparison: Comparison<T>)
void Sort(Comparison<T> Comparison)
func Sort(_ Comparison: Comparison<T>)
Sub Sort(Comparison As Comparison<T>)
Parameters:
- Comparison:
SubList (Int32): not nullable RemObjects.Elements.RTL.ImmutableList<T> (declared in ImmutableList<T>)
Creates a copy of a sub part of this list.
method SubList(aStartIndex: Int32): not nullable RemObjects.Elements.RTL.ImmutableList<T>
RemObjects.Elements.RTL.ImmutableList<T>! SubList(Int32 aStartIndex)
func SubList(_ aStartIndex: Int32) -> RemObjects.Elements.RTL.ImmutableList<T>
RemObjects.Elements.RTL.ImmutableList<T> SubList(Integer aStartIndex)
Function SubList(aStartIndex As Int32) As RemObjects.Elements.RTL.ImmutableList<T>
Parameters:
- aStartIndex:
SubList (Int32): not nullable RemObjects.Elements.RTL.List<T>
Create a new list that's a substring of this list.
method SubList(aStartIndex: Int32): not nullable RemObjects.Elements.RTL.List<T>
RemObjects.Elements.RTL.List<T>! SubList(Int32 aStartIndex)
func SubList(_ aStartIndex: Int32) -> RemObjects.Elements.RTL.List<T>
RemObjects.Elements.RTL.List<T> SubList(Integer aStartIndex)
Function SubList(aStartIndex As Int32) As RemObjects.Elements.RTL.List<T>
Parameters:
- aStartIndex:
SubList (Int32, Int32): not nullable RemObjects.Elements.RTL.ImmutableList<T> (declared in ImmutableList<T>)
Creates a copy of a sub part of this list.
method SubList(aStartIndex: Int32; aLength: Int32): not nullable RemObjects.Elements.RTL.ImmutableList<T>
RemObjects.Elements.RTL.ImmutableList<T>! SubList(Int32 aStartIndex, Int32 aLength)
func SubList(_ aStartIndex: Int32, _ aLength: Int32) -> RemObjects.Elements.RTL.ImmutableList<T>
RemObjects.Elements.RTL.ImmutableList<T> SubList(Integer aStartIndex, Integer aLength)
Function SubList(aStartIndex As Int32, aLength As Int32) As RemObjects.Elements.RTL.ImmutableList<T>
Parameters:
- aStartIndex:
- aLength:
SubList (Int32, Int32): not nullable RemObjects.Elements.RTL.List<T>
Create a new list that's a substring of this list.
method SubList(aStartIndex: Int32; aLength: Int32): not nullable RemObjects.Elements.RTL.List<T>
RemObjects.Elements.RTL.List<T>! SubList(Int32 aStartIndex, Int32 aLength)
func SubList(_ aStartIndex: Int32, _ aLength: Int32) -> RemObjects.Elements.RTL.List<T>
RemObjects.Elements.RTL.List<T> SubList(Integer aStartIndex, Integer aLength)
Function SubList(aStartIndex As Int32, aLength As Int32) As RemObjects.Elements.RTL.List<T>
Parameters:
- aStartIndex:
- aLength:
ToArray (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Creates an array from the items in this list.
method ToArray: not nullable array of T
T[]! ToArray()
func ToArray() -> T...
T[] ToArray()
Function ToArray() As T()
ToList<U> (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Returns itself.
method ToList<U>: not nullable ImmutableList<U>
ImmutableList<U>! ToList<U>()
func ToList<U>() -> ImmutableList<U>
ImmutableList<U> ToList<U>()
Function ToList<U>() As ImmutableList<U>
ToList<U> Cooper, Island, Toffee, ToffeeV2
Create a copy of this list.
method ToList<U>: not nullable List<U>
List<U>! ToList<U>()
func ToList<U>() -> List<U>
List<U> ToList<U>()
Function ToList<U>() As List<U>
ToList<U> .NET, .NET Core 6.0, .NET Standard 2.0
method ToList<U>: not nullable List<U>
List<U>! ToList<U>()
func ToList<U>() -> List<U>
Function ToList<U>() As List<U>
ToSortedList (Comparison<T>): not nullable RemObjects.Elements.RTL.ImmutableList<T> (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Sorts this list ,and returns a copy.
method ToSortedList(Comparison: Comparison<T>): not nullable RemObjects.Elements.RTL.ImmutableList<T>
RemObjects.Elements.RTL.ImmutableList<T>! ToSortedList(Comparison<T> Comparison)
func ToSortedList(_ Comparison: Comparison<T>) -> RemObjects.Elements.RTL.ImmutableList<T>
RemObjects.Elements.RTL.ImmutableList<T> ToSortedList(Comparison<T> Comparison)
Function ToSortedList(Comparison As Comparison<T>) As RemObjects.Elements.RTL.ImmutableList<T>
Parameters:
- Comparison:
ToSortedList (Comparison<T>): not nullable RemObjects.Elements.RTL.ImmutableList<T> (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method ToSortedList(Comparison: Comparison<T>): not nullable RemObjects.Elements.RTL.ImmutableList<T>
RemObjects.Elements.RTL.ImmutableList<T>! ToSortedList(Comparison<T> Comparison)
func ToSortedList(_ Comparison: Comparison<T>) -> RemObjects.Elements.RTL.ImmutableList<T>
Function ToSortedList(Comparison As Comparison<T>) As RemObjects.Elements.RTL.ImmutableList<T>
Parameters:
- Comparison:
TrueForAll (Predicate<T>): Boolean (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Returns true if the predicate is true for all items 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:
TrueForAll (Predicate<T>): Boolean (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method TrueForAll(Match: Predicate<T>): Boolean
Boolean TrueForAll(Predicate<T> Match)
func TrueForAll(_ Match: Predicate<T>) -> Boolean
Function TrueForAll(Match As Predicate<T>) As Boolean
Parameters:
- Match:
UniqueCopy (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method UniqueCopy: not nullable RemObjects.Elements.RTL.ImmutableList<T>
RemObjects.Elements.RTL.ImmutableList<T>! UniqueCopy()
func UniqueCopy() -> RemObjects.Elements.RTL.ImmutableList<T>
Function UniqueCopy() As RemObjects.Elements.RTL.ImmutableList<T>
UniqueMutableCopy (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method UniqueMutableCopy: not nullable RemObjects.Elements.RTL.List<T>
RemObjects.Elements.RTL.List<T>! UniqueMutableCopy()
func UniqueMutableCopy() -> RemObjects.Elements.RTL.List<T>
Function UniqueMutableCopy() As RemObjects.Elements.RTL.List<T>
Count (declared in ImmutableList<T>)
Returns the item count in this list.
property Count: Int32 read;
Int32 Count { get; }
var Count: Int32 { get{} }
Integer Count { __get; }
ReadOnly Property Count() As Int32
FirstObject (declared in ImmutableList<T>)
Returns the first element (or fails)
property FirstObject: not nullable T read;
T! FirstObject { get; }
var FirstObject: T { get{} }
T FirstObject { __get; }
ReadOnly Property FirstObject() As T
Item (declared in ImmutableList<T>)
Indexer for the list.
property Item[i: Int32]: T read;
T Item[Int32 i] { get; }
subscript Item(_ i: Int32) -> T { get{} }
T Item[Integer i] { __get; }
ReadOnly Property Item(i As Int32) As T
Item
Access an item by index.
property Item[i: Int32]: T read write;
T Item[Int32 i] { get; set; }
subscript Item(_ i: Int32) -> T { get{} set{} }
T Item[Integer i] { __get; __set; }
Property Item(i As Int32) As T
LastObject (declared in ImmutableList<T>)
Returns the last object in the list, or fails.
property LastObject: not nullable T read;
T! LastObject { get; }
var LastObject: T { get{} }
T LastObject { __get; }
ReadOnly Property LastObject() As T
constructor .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2
Creates a new list class.
constructor
List<T>()
init()
List<T>()
Sub New()
constructor $New() Toffee
init($New )
Parameters:
- :
constructor (ImmutableList<T>)
Creates a new list class.
constructor(Items: ImmutableList<T>)
List<T>(ImmutableList<T> Items)
init(_ Items: ImmutableList<T>)
List<T>(ImmutableList<T> Items)
Sub New(Items As ImmutableList<T>)
Parameters:
- Items:
constructor (IEnumerable<T>)
Creates a new list class.
constructor(Items: IEnumerable<T>)
List<T>(IEnumerable<T> Items)
// Toffee
init(_ Items: INSFastEnumeration<T>)
// ToffeeV2
init(_ Items: IEnumerable<T>)
List<T>(Iterable<T> Items)
Sub New(Items As IEnumerable<T>)
Parameters:
- Items:
constructor (array of T)
Creates a new list class.
constructor(params anArray: array of T)
List<T>(params T[] anArray)
init(_ anArray: T...)
List<T>(T[]... anArray)
Sub New(ParamArray anArray As T())
Parameters:
- anArray:
constructor withCapacity(Int32)
Creates a new isntance with a given capacity.
constructor withCapacity(aCapacity: Int32)
List<T> withCapacity(Int32 aCapacity)
init(withCapacity aCapacity: Int32)
List<T> withCapacity(Integer aCapacity)
Sub New withCapacity(aCapacity As Int32)
Parameters:
- aCapacity:
constructor withRepeatedValue(T, Int32)
Creates a new instance with the value aValue repeated aCount times.
constructor withRepeatedValue(aValue: T; aCount: Int32)
List<T> withRepeatedValue(T aValue, Int32 aCount)
init(withRepeatedValue aValue: T, _ aCount: Int32)
List<T> withRepeatedValue(T aValue, Integer aCount)
Sub New withRepeatedValue(aValue As T, aCount As Int32)
Parameters:
- aValue:
- aCount:
Add (T): T
Add an item to the list.
method Add(aItem: T): T
T Add(T aItem)
func Add(_ aItem: T) -> T
T Add(T aItem)
Function Add(aItem As T) As T
Parameters:
- aItem:
Add (nullable RemObjects.Elements.RTL.ImmutableList<T>)
Add a sequence of items to the list.
method Add(Items: nullable RemObjects.Elements.RTL.ImmutableList<T>)
void Add(RemObjects.Elements.RTL.ImmutableList<T>? Items)
// Toffee
func Add(_ Items: ImmutableList<T>)
// ToffeeV2
func Add(_ Items: RemObjects.Elements.RTL.ImmutableList<T>?)
void Add(ImmutableList<T> Items)
Sub Add(Items As RemObjects.Elements.RTL.ImmutableList<T>?)
Parameters:
- Items:
Add (nullable IEnumerable<T>)
Add a sequence of items to the list.
method Add(Items: nullable IEnumerable<T>)
void Add(IEnumerable<T>? Items)
// Toffee
func Add(_ Items: INSFastEnumeration<T>)
// ToffeeV2
func Add(_ Items: IEnumerable<T>?)
void Add(Iterable<T> Items)
Sub Add(Items As IEnumerable<T>?)
Parameters:
- Items:
Add (nullable RemObjects.Elements.RTL.List<T>) ToffeeV2
Add a sequence of items to the list.
func Add(_ Items: RemObjects.Elements.RTL.List<T>?)
Parameters:
- Items:
Add (array of T) Cooper, Island, Toffee, ToffeeV2
Add an array of items to the list.
method Add(params Items: nullable array of T)
void Add(params T[]? Items)
// Toffee
func Add(_ Items: T...)
// ToffeeV2
func Add(_ Items: T...?...)
void Add(T[]... Items)
Sub Add(ParamArray Items As T()?)
Parameters:
- Items:
Contains (declared in ImmutableList<T>)
Returns true if this list contains aItem.
method Contains(aItem: T): Boolean
Boolean Contains(T aItem)
func Contains(_ aItem: T) -> Boolean
Boolean Contains(T aItem)
Function Contains(aItem As T) As Boolean
Parameters:
- aItem:
Exists (Predicate<T>): Boolean (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Returns true if this list contains an element matching the predicate.
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:
Find (Predicate<T>): T (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Returns the first match that matches the predicate.
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 (Predicate<T>): not nullable Iterable<T> (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Returns all matches that matches the predicate.
method FindAll(Match: Predicate<T>): not nullable IEnumerable<T>
IEnumerable<T>! FindAll(Predicate<T> Match)
// Toffee
func FindAll(_ Match: Predicate<T>) -> INSFastEnumeration<T>
// ToffeeV2
func FindAll(_ Match: Predicate<T>) -> IEnumerable<T>
Iterable<T> FindAll(Predicate<T> Match)
Function FindAll(Match As Predicate<T>) As IEnumerable<T>
Parameters:
- Match:
FindIndex (Predicate<T>): Integer (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Find the index of first matching item matching the predicate.
method FindIndex(Match: Predicate<T>): Int32
Int32 FindIndex(Predicate<T> Match)
func FindIndex(_ Match: Predicate<T>) -> Int32
Integer FindIndex(Predicate<T> Match)
Function FindIndex(Match As Predicate<T>) As Int32
Parameters:
- Match:
FindIndex (Integer, Integer, Predicate<T>): Integer (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Find the index of first matching item matching the predicate.
Parameters:
- StartIndex:
- aCount:
- Match:
FindIndex (Integer, Predicate<T>): Integer (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Find the index of first matching item matching the predicate.
Parameters:
- StartIndex:
- Match:
ForEach (Action<T>) (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Loops over al litems and triggers the action for each item.
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:
GetSequence (declared in ImmutableList<T>) ToffeeV2
Returns a sequence of all items in this list.
func GetSequence() -> IEnumerable<T>
IndexOf (T): Integer (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Returns the index of matching item, or -1.
method IndexOf(aItem: T): Int32
Int32 IndexOf(T aItem)
func IndexOf(_ aItem: T) -> Int32
Integer IndexOf(T aItem)
Function IndexOf(aItem As T) As Int32
Parameters:
- aItem:
Insert
Insert an item in the list at position aIndex.
method Insert(Index: Int32; aItem: T)
void Insert(Int32 Index, T aItem)
func Insert(_ Index: Int32, _ aItem: T)
void Insert(Integer Index, T aItem)
Sub Insert(Index As Int32, aItem As T)
Parameters:
- Index:
- aItem:
InsertRange (Integer, array of T) Cooper, Island, Toffee, ToffeeV2
method InsertRange(Index: Int32; Items: array of T)
void InsertRange(Int32 Index, T[] Items)
func InsertRange(_ Index: Int32, _ Items: T...)
void InsertRange(Integer Index, T[] Items)
Sub InsertRange(Index As Int32, Items As T())
Parameters:
- Index:
- Items:
Insert a range of elements at aIndex.
Parameters:
- Index:
- Items:
JoinedString (String): not nullable String (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Join the items in this list together with separator as separator.
Parameters:
- aSeparator:
LastIndexOf (T): Integer (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Returns the index of matching item, or -1, in reverse lookup order.
method LastIndexOf(aItem: T): Int32
Int32 LastIndexOf(T aItem)
func LastIndexOf(_ aItem: T) -> Int32
Integer LastIndexOf(T aItem)
Function LastIndexOf(aItem As T) As Int32
Parameters:
- aItem:
MutableVersion (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
creates a copy of the list as mutable list.
method MutableVersion: not nullable RemObjects.Elements.RTL.List<T>
RemObjects.Elements.RTL.List<T>! MutableVersion()
func MutableVersion() -> RemObjects.Elements.RTL.List<T>
RemObjects.Elements.RTL.List<T> MutableVersion()
Function MutableVersion() As RemObjects.Elements.RTL.List<T>
Remove (T): Boolean
Remove an item.
method Remove(aItem: T): Boolean
Boolean Remove(T aItem)
func Remove(_ aItem: T) -> Boolean
Boolean Remove(T aItem)
Function Remove(aItem As T) As Boolean
Parameters:
- aItem:
Remove (ImmutableList<T>)
method Remove(aItems: ImmutableList<T>)
void Remove(ImmutableList<T> aItems)
func Remove(_ aItems: ImmutableList<T>)
void Remove(ImmutableList<T> aItems)
Sub Remove(aItems As ImmutableList<T>)
Parameters:
- aItems:
Remove (IEnumerable<T>)
Remove a range of items.
method Remove(aItems: IEnumerable<T>)
void Remove(IEnumerable<T> aItems)
// Toffee
func Remove(_ aItems: INSFastEnumeration<T>)
// ToffeeV2
func Remove(_ aItems: IEnumerable<T>)
void Remove(Iterable<T> aItems)
Sub Remove(aItems As IEnumerable<T>)
Parameters:
- aItems:
RemoveAll .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2
Remove all items.
method RemoveAll
void RemoveAll()
func RemoveAll()
void RemoveAll()
Sub RemoveAll()
RemoveAll RemoveAll() virtual Toffee
func RemoveAll(RemoveAll )
Parameters:
- :
RemoveAt
Remove an item at the given index.
method RemoveAt(aIndex: Int32)
void RemoveAt(Int32 aIndex)
func RemoveAt(_ aIndex: Int32)
void RemoveAt(Integer aIndex)
Sub RemoveAt(aIndex As Int32)
Parameters:
- aIndex:
RemoveFirstObject .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2
Remove the first item.
method RemoveFirstObject
void RemoveFirstObject()
func RemoveFirstObject()
void RemoveFirstObject()
Sub RemoveFirstObject()
RemoveFirstObject RemoveFirstObject() virtual Toffee
func RemoveFirstObject(RemoveFirstObject )
Parameters:
- :
RemoveLastObject .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2
Remove the last item.
method RemoveLastObject
void RemoveLastObject()
func RemoveLastObject()
void RemoveLastObject()
Sub RemoveLastObject()
RemoveLastObject RemoveLastObject() virtual Toffee
func RemoveLastObject(RemoveLastObject )
Parameters:
- :
RemoveRange
Remove a range of items.
Parameters:
- aIndex:
- aCount:
ReplaceAt
Replace an item at a specific location.
method ReplaceAt(aIndex: Int32; aNewObject: T): T
T ReplaceAt(Int32 aIndex, T aNewObject)
func ReplaceAt(_ aIndex: Int32, _ aNewObject: T) -> T
T ReplaceAt(Integer aIndex, T aNewObject)
Function ReplaceAt(aIndex As Int32, aNewObject As T) As T
Parameters:
- aIndex:
- aNewObject:
ReplaceRange (Integer, Integer, ImmutableList<T>): T Cooper, Island, Toffee, ToffeeV2
Replace a range of items, essentially removes the range from aIndex to aIndex + aCount, then inserts aNewObjects.
method ReplaceRange(aIndex: Int32; aCount: Int32; aNewObjects: ImmutableList<T>): T
T ReplaceRange(Int32 aIndex, Int32 aCount, ImmutableList<T> aNewObjects)
func ReplaceRange(_ aIndex: Int32, _ aCount: Int32, _ aNewObjects: ImmutableList<T>) -> T
T ReplaceRange(Integer aIndex, Integer aCount, ImmutableList<T> aNewObjects)
Function ReplaceRange(aIndex As Int32, aCount As Int32, aNewObjects As ImmutableList<T>) As T
Parameters:
- aIndex:
- aCount:
- aNewObjects:
Sort (Comparison<T>) Cooper, Island, Toffee, ToffeeV2
Sort this list.
method Sort(Comparison: Comparison<T>)
void Sort(Comparison<T> Comparison)
func Sort(_ Comparison: Comparison<T>)
void Sort(Comparison<T> Comparison)
Sub Sort(Comparison As Comparison<T>)
Parameters:
- Comparison:
SubList (Int32): not nullable RemObjects.Elements.RTL.ImmutableList<T> (declared in ImmutableList<T>)
Creates a copy of a sub part of this list.
method SubList(aStartIndex: Int32): not nullable RemObjects.Elements.RTL.ImmutableList<T>
RemObjects.Elements.RTL.ImmutableList<T>! SubList(Int32 aStartIndex)
func SubList(_ aStartIndex: Int32) -> RemObjects.Elements.RTL.ImmutableList<T>
RemObjects.Elements.RTL.ImmutableList<T> SubList(Integer aStartIndex)
Function SubList(aStartIndex As Int32) As RemObjects.Elements.RTL.ImmutableList<T>
Parameters:
- aStartIndex:
SubList (Int32): not nullable RemObjects.Elements.RTL.List<T>
Create a new list that's a substring of this list.
method SubList(aStartIndex: Int32): not nullable RemObjects.Elements.RTL.List<T>
RemObjects.Elements.RTL.List<T>! SubList(Int32 aStartIndex)
func SubList(_ aStartIndex: Int32) -> RemObjects.Elements.RTL.List<T>
RemObjects.Elements.RTL.List<T> SubList(Integer aStartIndex)
Function SubList(aStartIndex As Int32) As RemObjects.Elements.RTL.List<T>
Parameters:
- aStartIndex:
SubList (Int32, Int32): not nullable RemObjects.Elements.RTL.ImmutableList<T> (declared in ImmutableList<T>)
Creates a copy of a sub part of this list.
method SubList(aStartIndex: Int32; aLength: Int32): not nullable RemObjects.Elements.RTL.ImmutableList<T>
RemObjects.Elements.RTL.ImmutableList<T>! SubList(Int32 aStartIndex, Int32 aLength)
func SubList(_ aStartIndex: Int32, _ aLength: Int32) -> RemObjects.Elements.RTL.ImmutableList<T>
RemObjects.Elements.RTL.ImmutableList<T> SubList(Integer aStartIndex, Integer aLength)
Function SubList(aStartIndex As Int32, aLength As Int32) As RemObjects.Elements.RTL.ImmutableList<T>
Parameters:
- aStartIndex:
- aLength:
SubList (Int32, Int32): not nullable RemObjects.Elements.RTL.List<T>
Create a new list that's a substring of this list.
method SubList(aStartIndex: Int32; aLength: Int32): not nullable RemObjects.Elements.RTL.List<T>
RemObjects.Elements.RTL.List<T>! SubList(Int32 aStartIndex, Int32 aLength)
func SubList(_ aStartIndex: Int32, _ aLength: Int32) -> RemObjects.Elements.RTL.List<T>
RemObjects.Elements.RTL.List<T> SubList(Integer aStartIndex, Integer aLength)
Function SubList(aStartIndex As Int32, aLength As Int32) As RemObjects.Elements.RTL.List<T>
Parameters:
- aStartIndex:
- aLength:
ToArray (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Creates an array from the items in this list.
method ToArray: not nullable array of T
T[]! ToArray()
func ToArray() -> T...
T[] ToArray()
Function ToArray() As T()
ToList<U> (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Returns itself.
method ToList<U>: not nullable ImmutableList<U>
ImmutableList<U>! ToList<U>()
func ToList<U>() -> ImmutableList<U>
ImmutableList<U> ToList<U>()
Function ToList<U>() As ImmutableList<U>
ToList<U> Cooper, Island, Toffee, ToffeeV2
Create a copy of this list.
method ToList<U>: not nullable List<U>
List<U>! ToList<U>()
func ToList<U>() -> List<U>
List<U> ToList<U>()
Function ToList<U>() As List<U>
ToSortedList (Comparison<T>): not nullable RemObjects.Elements.RTL.ImmutableList<T> (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Sorts this list ,and returns a copy.
method ToSortedList(Comparison: Comparison<T>): not nullable RemObjects.Elements.RTL.ImmutableList<T>
RemObjects.Elements.RTL.ImmutableList<T>! ToSortedList(Comparison<T> Comparison)
func ToSortedList(_ Comparison: Comparison<T>) -> RemObjects.Elements.RTL.ImmutableList<T>
RemObjects.Elements.RTL.ImmutableList<T> ToSortedList(Comparison<T> Comparison)
Function ToSortedList(Comparison As Comparison<T>) As RemObjects.Elements.RTL.ImmutableList<T>
Parameters:
- Comparison:
TrueForAll (Predicate<T>): Boolean (declared in ImmutableList<T>) Cooper, Island, Toffee, ToffeeV2
Returns true if the predicate is true for all items 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:
Add (nullable array of T) .NET, .NET Core 6.0, .NET Standard 2.0
method Add(params Items: nullable array of T)
void Add(params T[]? Items)
func Add(_ Items: T...?...)
Sub Add(ParamArray Items As T()?)
Parameters:
- Items:
Exists (Predicate<T>): Boolean (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method Exists(Match: Predicate<T>): Boolean
Boolean Exists(Predicate<T> Match)
func Exists(_ Match: Predicate<T>) -> Boolean
Function Exists(Match As Predicate<T>) As Boolean
Parameters:
- Match:
Find (Predicate<T>): T (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method Find(Match: Predicate<T>): T
T Find(Predicate<T> Match)
func Find(_ Match: Predicate<T>) -> T
Function Find(Match As Predicate<T>) As T
Parameters:
- Match:
FindAll (Predicate<T>): not nullable IEnumerable<T> (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method FindAll(Match: Predicate<T>): not nullable IEnumerable<T>
IEnumerable<T>! FindAll(Predicate<T> Match)
func FindAll(_ Match: Predicate<T>) -> IEnumerable<T>
Function FindAll(Match As Predicate<T>) As IEnumerable<T>
Parameters:
- Match:
FindIndex (Predicate<T>): Int32 (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method FindIndex(Match: Predicate<T>): Int32
Int32 FindIndex(Predicate<T> Match)
func FindIndex(_ Match: Predicate<T>) -> Int32
Function FindIndex(Match As Predicate<T>) As Int32
Parameters:
- Match:
FindIndex (Int32, Int32, Predicate<T>): Int32 (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
Parameters:
- StartIndex:
- aCount:
- Match:
FindIndex (Int32, Predicate<T>): Int32 (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
Parameters:
- StartIndex:
- Match:
ForEach (Action<T>) (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method ForEach(Action: Action<T>)
void ForEach(Action<T> Action)
func ForEach(_ Action: Action<T>)
Sub ForEach(Action As Action<T>)
Parameters:
- Action:
IndexOf (T): Int32 (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method IndexOf(aItem: T): Int32
Int32 IndexOf(T aItem)
func IndexOf(_ aItem: T) -> Int32
Function IndexOf(aItem As T) As Int32
Parameters:
- aItem:
InsertRange (Int32, array of T) .NET, .NET Core 6.0, .NET Standard 2.0
method InsertRange(Index: Int32; Items: array of T)
void InsertRange(Int32 Index, T[] Items)
func InsertRange(_ Index: Int32, _ Items: T...)
Sub InsertRange(Index As Int32, Items As T())
Parameters:
- Index:
- Items:
JoinedString (nullable String): not nullable String (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
Parameters:
- aSeparator:
LastIndexOf (T): Int32 (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method LastIndexOf(aItem: T): Int32
Int32 LastIndexOf(T aItem)
func LastIndexOf(_ aItem: T) -> Int32
Function LastIndexOf(aItem As T) As Int32
Parameters:
- aItem:
MutableVersion (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method MutableVersion: not nullable RemObjects.Elements.RTL.List<T>
RemObjects.Elements.RTL.List<T>! MutableVersion()
func MutableVersion() -> RemObjects.Elements.RTL.List<T>
Function MutableVersion() As RemObjects.Elements.RTL.List<T>
ReplaceRange (Int32, Int32, ImmutableList<T>): T .NET, .NET Core 6.0, .NET Standard 2.0
method ReplaceRange(aIndex: Int32; aCount: Int32; aNewObjects: ImmutableList<T>): T
T ReplaceRange(Int32 aIndex, Int32 aCount, ImmutableList<T> aNewObjects)
func ReplaceRange(_ aIndex: Int32, _ aCount: Int32, _ aNewObjects: ImmutableList<T>) -> T
Function ReplaceRange(aIndex As Int32, aCount As Int32, aNewObjects As ImmutableList<T>) As T
Parameters:
- aIndex:
- aCount:
- aNewObjects:
Sort (Comparison<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method Sort(Comparison: Comparison<T>)
void Sort(Comparison<T> Comparison)
func Sort(_ Comparison: Comparison<T>)
Sub Sort(Comparison As Comparison<T>)
Parameters:
- Comparison:
ToList<U> .NET, .NET Core 6.0, .NET Standard 2.0
method ToList<U>: not nullable List<U>
List<U>! ToList<U>()
func ToList<U>() -> List<U>
Function ToList<U>() As List<U>
ToSortedList (Comparison<T>): not nullable RemObjects.Elements.RTL.ImmutableList<T> (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method ToSortedList(Comparison: Comparison<T>): not nullable RemObjects.Elements.RTL.ImmutableList<T>
RemObjects.Elements.RTL.ImmutableList<T>! ToSortedList(Comparison<T> Comparison)
func ToSortedList(_ Comparison: Comparison<T>) -> RemObjects.Elements.RTL.ImmutableList<T>
Function ToSortedList(Comparison As Comparison<T>) As RemObjects.Elements.RTL.ImmutableList<T>
Parameters:
- Comparison:
TrueForAll (Predicate<T>): Boolean (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method TrueForAll(Match: Predicate<T>): Boolean
Boolean TrueForAll(Predicate<T> Match)
func TrueForAll(_ Match: Predicate<T>) -> Boolean
Function TrueForAll(Match As Predicate<T>) As Boolean
Parameters:
- Match:
UniqueCopy (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method UniqueCopy: not nullable RemObjects.Elements.RTL.ImmutableList<T>
RemObjects.Elements.RTL.ImmutableList<T>! UniqueCopy()
func UniqueCopy() -> RemObjects.Elements.RTL.ImmutableList<T>
Function UniqueCopy() As RemObjects.Elements.RTL.ImmutableList<T>
UniqueMutableCopy (declared in ImmutableList<T>) .NET, .NET Core 6.0, .NET Standard 2.0
method UniqueMutableCopy: not nullable RemObjects.Elements.RTL.List<T>
RemObjects.Elements.RTL.List<T>! UniqueMutableCopy()
func UniqueMutableCopy() -> RemObjects.Elements.RTL.List<T>
Function UniqueMutableCopy() As RemObjects.Elements.RTL.List<T>