ImmutableList<T>
Overview
Immutable version of the List 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.ImmutableList<T> Island
- NSArray
Toffee, ToffeeV2
- List
constructor .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, ToffeeV2
Creates a new list class.
constructor
ImmutableList<T>()
init()
ImmutableList<T>()
Sub New()
constructor $New() Toffee
init($New )
Parameters:
- :
constructor (ImmutableList<T>)
Creates a new list class.
constructor(Items: ImmutableList<T>)
ImmutableList<T>(ImmutableList<T> Items)
init(_ Items: ImmutableList<T>)
ImmutableList<T>(ImmutableList<T> Items)
Sub New(Items As ImmutableList<T>)
Parameters:
- Items:
constructor (IEnumerable<T>)
Creates a new list class.
constructor(Items: IEnumerable<T>)
ImmutableList<T>(IEnumerable<T> Items)
// Toffee
init(_ Items: INSFastEnumeration<T>)
// ToffeeV2
init(_ Items: IEnumerable<T>)
ImmutableList<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)
ImmutableList<T>(params T[] anArray)
init(_ anArray: T...)
ImmutableList<T>(T[]... anArray)
Sub New(ParamArray anArray As T())
Parameters:
- anArray:
Contains
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
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 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 .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 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 .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> 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> .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 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:
Find the index of first matching item matching the predicate.
Parameters:
- StartIndex:
- aCount:
- Match:
Find the index of first matching item matching the predicate.
Parameters:
- StartIndex:
- Match:
FindIndex (Predicate<T>): Int32 .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:
Parameters:
- StartIndex:
- aCount:
- Match:
Parameters:
- StartIndex:
- Match:
FirstObject
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>) 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>) .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 ToffeeV2
Returns a sequence of all items in this list.
func GetSequence() -> IEnumerable<T>
IndexOf (T): Integer 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 .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:
Item
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
Join the items in this list together with separator as separator.
Parameters:
- aSeparator:
Parameters:
- aSeparator:
LastIndexOf (T): Integer 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 .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
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 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 .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>
SubList (Int32): not nullable RemObjects.Elements.RTL.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, Int32): not nullable RemObjects.Elements.RTL.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:
ToArray 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> 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> .NET, .NET Core 6.0, .NET Standard 2.0
method ToList<U>: not nullable ImmutableList<U>
ImmutableList<U>! ToList<U>()
func ToList<U>() -> ImmutableList<U>
Function ToList<U>() As ImmutableList<U>
ToSortedList (Comparison<T>): not nullable RemObjects.Elements.RTL.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> .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 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 .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 .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 .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
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
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
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
LastObject
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
ImmutableList<T>()
init()
ImmutableList<T>()
Sub New()
constructor $New() Toffee
init($New )
Parameters:
- :
constructor (ImmutableList<T>)
Creates a new list class.
constructor(Items: ImmutableList<T>)
ImmutableList<T>(ImmutableList<T> Items)
init(_ Items: ImmutableList<T>)
ImmutableList<T>(ImmutableList<T> Items)
Sub New(Items As ImmutableList<T>)
Parameters:
- Items:
constructor (IEnumerable<T>)
Creates a new list class.
constructor(Items: IEnumerable<T>)
ImmutableList<T>(IEnumerable<T> Items)
// Toffee
init(_ Items: INSFastEnumeration<T>)
// ToffeeV2
init(_ Items: IEnumerable<T>)
ImmutableList<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)
ImmutableList<T>(params T[] anArray)
init(_ anArray: T...)
ImmutableList<T>(T[]... anArray)
Sub New(ParamArray anArray As T())
Parameters:
- anArray:
Contains
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 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 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> 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 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:
Find the index of first matching item matching the predicate.
Parameters:
- StartIndex:
- aCount:
- Match:
Find the index of first matching item matching the predicate.
Parameters:
- StartIndex:
- Match:
ForEach (Action<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 ToffeeV2
Returns a sequence of all items in this list.
func GetSequence() -> IEnumerable<T>
IndexOf (T): Integer 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:
Join the items in this list together with separator as separator.
Parameters:
- aSeparator:
LastIndexOf (T): Integer 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 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>
SubList (Int32): not nullable RemObjects.Elements.RTL.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, Int32): not nullable RemObjects.Elements.RTL.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:
ToArray 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> 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>
ToSortedList (Comparison<T>): not nullable RemObjects.Elements.RTL.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 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:
Exists (Predicate<T>): Boolean .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 .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> .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 .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:
Parameters:
- StartIndex:
- aCount:
- Match:
Parameters:
- StartIndex:
- Match:
ForEach (Action<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 .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:
Parameters:
- aSeparator:
LastIndexOf (T): Int32 .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 .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>
ToList<U> .NET, .NET Core 6.0, .NET Standard 2.0
method ToList<U>: not nullable ImmutableList<U>
ImmutableList<U>! ToList<U>()
func ToList<U>() -> ImmutableList<U>
Function ToList<U>() As ImmutableList<U>
ToSortedList (Comparison<T>): not nullable RemObjects.Elements.RTL.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 .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 .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 .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>