ImmutableList<T>

Overview

Location

  • Reference:
    • Elements.dll  .NET, .NET Standard 2.0
    • elements.jar  Cooper
    • Elements.fx  Island, ToffeeV2
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL
  • Mapped to:
    • System.Collections.Generic.List  .NET, .NET Standard 2.0
    • java.util.ArrayList  Cooper
    • RemObjects.Elements.System.List  Island
    • Foundation.NSArray  Toffee, ToffeeV2

Descendants

Implements

 

constructor

 

constructor

 

ImmutableList<T>()

 

init()

 

ImmutableList<T>()

constructor (array of T)

 

constructor(params anArray: array of T)

 

ImmutableList<T>(params T[] anArray)

 

init(_ anArray: T...)

 

ImmutableList<T>(T[]... anArray)

Parameters:

  • anArray:

constructor (ImmutableList<T>)

 

constructor(Items: ImmutableList<T>)

 

ImmutableList<T>(ImmutableList<T> Items)

 

init(_ Items: ImmutableList<T>)

 

ImmutableList<T>(ImmutableList<T> Items)

Parameters:

  • Items:

constructor (IEnumerable<T>)

 

constructor(Items: IEnumerable<T>)

 

ImmutableList<T>(IEnumerable<T> Items)

 

// Toffee
init(_ Items: INSFastEnumeration<T>)
// ToffeeV2
init(_ Items: IEnumerable<T>)

 

ImmutableList<T>(Iterable<T> Items)

Parameters:

  • Items:

Contains

 

method Contains(aItem: T): Boolean

 

Boolean Contains(T aItem)

 

func Contains(_ aItem: T) -> Boolean

 

Boolean Contains(T aItem)

Parameters:

  • aItem:

Count

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Integer Count { __get; }

Exists

 

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

 

Boolean Exists(Predicate<T> Match)

 

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

 

Boolean Exists(Predicate<T> Match)

Parameters:

  • Match:

Find

 

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

 

T Find(Predicate<T> Match)

 

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

 

T Find(Predicate<T> Match)

Parameters:

  • Match:

FindAll

 

method FindAll(Match: Predicate<T>): 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)

Parameters:

  • Match:

FindIndex (Int32, Int32, Predicate<T>): Int32

 

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

 

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

Parameters:

  • StartIndex:
  • aCount:
  • Match:

FindIndex (Int32, Predicate<T>): Int32

 

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

 

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

 

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

 

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

Parameters:

  • StartIndex:
  • Match:

FindIndex (Predicate<T>): Int32

 

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

 

Int32 FindIndex(Predicate<T> Match)

 

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

 

Integer FindIndex(Predicate<T> Match)

Parameters:

  • Match:

FirstObject

 

property FirstObject: not nullable T read;

 

T! FirstObject { get; }

 

var FirstObject: T { get{} }

 

T! FirstObject { __get; }

ForEach

 

method ForEach(Action: Action<T>)

 

void ForEach(Action<T> Action)

 

func ForEach(_ Action: Action<T>)

 

void ForEach(Action1<T> Action)

Parameters:

  • Action:

get_Count .NET, .NET Standard 2.0

 

method get_Count: Int32

 

Int32 get_Count()

 

func get_Count() -> Int32

getCount Cooper

 

method getCount: Integer

 

Integer getCount()

 

func getCount() -> Integer

 

Integer getCount()

GetSequence ToffeeV2

 

func GetSequence() -> IEnumerable<T>

IndexOf

 

method IndexOf(aItem: T): Int32

 

Int32 IndexOf(T aItem)

 

func IndexOf(_ aItem: T) -> Int32

 

Integer IndexOf(T aItem)

Parameters:

  • aItem:

Item

 

property Item[i: Int32]: T read;

 

T Item[Int32 i] { get; }

 

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

 

T Item[Integer i] { __get; }

JoinedString (String): not nullable String  virtual Cooper, Toffee

 

func JoinedString(_ aSeparator: String) -> String

 

String! JoinedString(String aSeparator)

Parameters:

  • aSeparator:

JoinedString (nullable String): not nullable String .NET, .NET Standard 2.0, Island, ToffeeV2

 

method JoinedString(aSeparator: nullable String): not nullable String

 

String! JoinedString(String? aSeparator)

 

func JoinedString(_ aSeparator: String?) -> String

Parameters:

  • aSeparator:

LastIndexOf

 

method LastIndexOf(aItem: T): Int32

 

Int32 LastIndexOf(T aItem)

 

func LastIndexOf(_ aItem: T) -> Int32

 

Integer LastIndexOf(T aItem)

Parameters:

  • aItem:

LastObject

 

property LastObject: not nullable T read;

 

T! LastObject { get; }

 

var LastObject: T { get{} }

 

T! LastObject { __get; }

MutableVersion

 

method MutableVersion: not nullable List<T>

 

List<T>! MutableVersion()

 

func MutableVersion() -> List<T>

 

List<T>! MutableVersion()

SubList (Int32): ImmutableList<T>

 

method SubList(aStartIndex: Int32): ImmutableList<T>

 

ImmutableList<T> SubList(Int32 aStartIndex)

 

func SubList(_ aStartIndex: Int32) -> ImmutableList<T>

 

ImmutableList<T> SubList(Integer aStartIndex)

Parameters:

  • aStartIndex:

 

method SubList(aStartIndex: Int32; aLength: Int32): ImmutableList<T>

 

ImmutableList<T> SubList(Int32 aStartIndex, Int32 aLength)

 

func SubList(_ aStartIndex: Int32, _ aLength: Int32) -> ImmutableList<T>

 

ImmutableList<T> SubList(Integer aStartIndex, Integer aLength)

Parameters:

  • aStartIndex:
  • aLength:

ToArray

 

method ToArray: not nullable array of T

 

T[]! ToArray()

 

func ToArray() -> T...

 

T[]! ToArray()

ToList<U>

 

method ToList<U>: not nullable ImmutableList<U>

 

ImmutableList<U>! ToList<U>()

 

func ToList<U>() -> ImmutableList<U>

 

ImmutableList<U>! ToList<U>()

ToSortedList  virtual .NET, .NET Standard 2.0, Toffee

 

method ToSortedList: ImmutableList<T>

 

ImmutableList<T> ToSortedList()

 

func ToSortedList() -> ImmutableList<T>

ToSortedList (Comparison<T>): ImmutableList<T>

 

method ToSortedList(Comparison: Comparison<T>): ImmutableList<T>

 

ImmutableList<T> ToSortedList(Comparison<T> Comparison)

 

func ToSortedList(_ Comparison: Comparison<T>) -> ImmutableList<T>

 

ImmutableList<T> ToSortedList(Comparison<T> Comparison)

Parameters:

  • Comparison:

TrueForAll

 

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

 

Boolean TrueForAll(Predicate<T> Match)

 

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

 

Boolean TrueForAll(Predicate<T> Match)

Parameters:

  • Match:

UniqueCopy

 

method UniqueCopy: not nullable ImmutableList<T>

 

ImmutableList<T>! UniqueCopy()

 

func UniqueCopy() -> ImmutableList<T>

 

ImmutableList<T>! UniqueCopy()

UniqueMutableCopy

 

method UniqueMutableCopy: not nullable List<T>

 

List<T>! UniqueMutableCopy()

 

func UniqueMutableCopy() -> List<T>

 

List<T>! UniqueMutableCopy()

 

Count

 

property Count: Int32 read;

 

Int32 Count { get; }

 

var Count: Int32 { get{} }

 

Integer Count { __get; }

FirstObject

 

property FirstObject: not nullable T read;

 

T! FirstObject { get; }

 

var FirstObject: T { get{} }

 

T! FirstObject { __get; }

Item

 

property Item[i: Int32]: T read;

 

T Item[Int32 i] { get; }

 

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

 

T Item[Integer i] { __get; }

LastObject

 

property LastObject: not nullable T read;

 

T! LastObject { get; }

 

var LastObject: T { get{} }

 

T! LastObject { __get; }

 

constructor

 

constructor

 

ImmutableList<T>()

 

init()

 

ImmutableList<T>()

constructor (array of T)

 

constructor(params anArray: array of T)

 

ImmutableList<T>(params T[] anArray)

 

init(_ anArray: T...)

 

ImmutableList<T>(T[]... anArray)

Parameters:

  • anArray:

constructor (ImmutableList<T>)

 

constructor(Items: ImmutableList<T>)

 

ImmutableList<T>(ImmutableList<T> Items)

 

init(_ Items: ImmutableList<T>)

 

ImmutableList<T>(ImmutableList<T> Items)

Parameters:

  • Items:

constructor (IEnumerable<T>)

 

constructor(Items: IEnumerable<T>)

 

ImmutableList<T>(IEnumerable<T> Items)

 

// Toffee
init(_ Items: INSFastEnumeration<T>)
// ToffeeV2
init(_ Items: IEnumerable<T>)

 

ImmutableList<T>(Iterable<T> Items)

Parameters:

  • Items:

Contains

 

method Contains(aItem: T): Boolean

 

Boolean Contains(T aItem)

 

func Contains(_ aItem: T) -> Boolean

 

Boolean Contains(T aItem)

Parameters:

  • aItem:

Exists

 

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

 

Boolean Exists(Predicate<T> Match)

 

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

 

Boolean Exists(Predicate<T> Match)

Parameters:

  • Match:

Find

 

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

 

T Find(Predicate<T> Match)

 

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

 

T Find(Predicate<T> Match)

Parameters:

  • Match:

FindAll

 

method FindAll(Match: Predicate<T>): 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)

Parameters:

  • Match:

FindIndex (Int32, Int32, Predicate<T>): Int32

 

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

 

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

Parameters:

  • StartIndex:
  • aCount:
  • Match:

FindIndex (Int32, Predicate<T>): Int32

 

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

 

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

 

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

 

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

Parameters:

  • StartIndex:
  • Match:

FindIndex (Predicate<T>): Int32

 

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

 

Int32 FindIndex(Predicate<T> Match)

 

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

 

Integer FindIndex(Predicate<T> Match)

Parameters:

  • Match:

ForEach

 

method ForEach(Action: Action<T>)

 

void ForEach(Action<T> Action)

 

func ForEach(_ Action: Action<T>)

 

void ForEach(Action1<T> Action)

Parameters:

  • Action:

get_Count .NET, .NET Standard 2.0

 

method get_Count: Int32

 

Int32 get_Count()

 

func get_Count() -> Int32

getCount Cooper

 

method getCount: Integer

 

Integer getCount()

 

func getCount() -> Integer

 

Integer getCount()

GetSequence ToffeeV2

 

func GetSequence() -> IEnumerable<T>

IndexOf

 

method IndexOf(aItem: T): Int32

 

Int32 IndexOf(T aItem)

 

func IndexOf(_ aItem: T) -> Int32

 

Integer IndexOf(T aItem)

Parameters:

  • aItem:

JoinedString (String): not nullable String  virtual Cooper, Toffee

 

func JoinedString(_ aSeparator: String) -> String

 

String! JoinedString(String aSeparator)

Parameters:

  • aSeparator:

JoinedString (nullable String): not nullable String .NET, .NET Standard 2.0, Island, ToffeeV2

 

method JoinedString(aSeparator: nullable String): not nullable String

 

String! JoinedString(String? aSeparator)

 

func JoinedString(_ aSeparator: String?) -> String

Parameters:

  • aSeparator:

LastIndexOf

 

method LastIndexOf(aItem: T): Int32

 

Int32 LastIndexOf(T aItem)

 

func LastIndexOf(_ aItem: T) -> Int32

 

Integer LastIndexOf(T aItem)

Parameters:

  • aItem:

MutableVersion

 

method MutableVersion: not nullable List<T>

 

List<T>! MutableVersion()

 

func MutableVersion() -> List<T>

 

List<T>! MutableVersion()

SubList (Int32): ImmutableList<T>

 

method SubList(aStartIndex: Int32): ImmutableList<T>

 

ImmutableList<T> SubList(Int32 aStartIndex)

 

func SubList(_ aStartIndex: Int32) -> ImmutableList<T>

 

ImmutableList<T> SubList(Integer aStartIndex)

Parameters:

  • aStartIndex:

 

method SubList(aStartIndex: Int32; aLength: Int32): ImmutableList<T>

 

ImmutableList<T> SubList(Int32 aStartIndex, Int32 aLength)

 

func SubList(_ aStartIndex: Int32, _ aLength: Int32) -> ImmutableList<T>

 

ImmutableList<T> SubList(Integer aStartIndex, Integer aLength)

Parameters:

  • aStartIndex:
  • aLength:

ToArray

 

method ToArray: not nullable array of T

 

T[]! ToArray()

 

func ToArray() -> T...

 

T[]! ToArray()

ToList<U>

 

method ToList<U>: not nullable ImmutableList<U>

 

ImmutableList<U>! ToList<U>()

 

func ToList<U>() -> ImmutableList<U>

 

ImmutableList<U>! ToList<U>()

ToSortedList  virtual .NET, .NET Standard 2.0, Toffee

 

method ToSortedList: ImmutableList<T>

 

ImmutableList<T> ToSortedList()

 

func ToSortedList() -> ImmutableList<T>

ToSortedList (Comparison<T>): ImmutableList<T>

 

method ToSortedList(Comparison: Comparison<T>): ImmutableList<T>

 

ImmutableList<T> ToSortedList(Comparison<T> Comparison)

 

func ToSortedList(_ Comparison: Comparison<T>) -> ImmutableList<T>

 

ImmutableList<T> ToSortedList(Comparison<T> Comparison)

Parameters:

  • Comparison:

TrueForAll

 

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

 

Boolean TrueForAll(Predicate<T> Match)

 

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

 

Boolean TrueForAll(Predicate<T> Match)

Parameters:

  • Match:

UniqueCopy

 

method UniqueCopy: not nullable ImmutableList<T>

 

ImmutableList<T>! UniqueCopy()

 

func UniqueCopy() -> ImmutableList<T>

 

ImmutableList<T>! UniqueCopy()

UniqueMutableCopy

 

method UniqueMutableCopy: not nullable List<T>

 

List<T>! UniqueMutableCopy()

 

func UniqueMutableCopy() -> List<T>

 

List<T>! UniqueMutableCopy()

Descendants