ImmutableList_Extensions_Compararable<T>

Overview

Location

 

constructor    (declared in ImmutableList<T>)

Creates a new list class.

 

init()

constructor (array of T)    (declared in ImmutableList<T>)

Creates a new list class.

 

init(_ anArray: T...)

Parameters:

  • anArray:

constructor (ImmutableList<T>)    (declared in ImmutableList<T>)

Creates a new list class.

 

init(_ Items: ImmutableList<T>)

Parameters:

  • Items:

constructor (INSFastEnumeration<T>)    (declared in ImmutableList<T>)

Creates a new list class.

 

init(_ Items: INSFastEnumeration<T>)

Parameters:

  • Items:

Contains    (declared in ImmutableList<T>)

Returns true if this list contains aItem.

 

func Contains(_ aItem: T) -> Boolean

Parameters:

  • aItem:

Count    (declared in ImmutableList<T>)

Returns the item count in this list.

 

var Count: Int32 { get{} }

Exists    (declared in ImmutableList<T>)

Returns true if this list contains an element matching the predicate.

 

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

Parameters:

  • Match:

Find    (declared in ImmutableList<T>)

Returns the first match that matches the predicate.

 

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

Parameters:

  • Match:

FindAll    (declared in ImmutableList<T>)

Returns all matches that matches the predicate.

 

func FindAll(_ Match: Predicate<T>) -> INSFastEnumeration<T>

Parameters:

  • Match:

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

Find the index of first matching item matching the predicate.

 

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

Parameters:

  • StartIndex:
  • aCount:
  • Match:

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

Find the index of first matching item matching the predicate.

 

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

Parameters:

  • StartIndex:
  • Match:

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

Find the index of first matching item matching the predicate.

 

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

Parameters:

  • Match:

FirstObject    (declared in ImmutableList<T>)

Returns the first element (or fails)

 

var FirstObject: T { get{} }

ForEach    (declared in ImmutableList<T>)

Loops over al litems and triggers the action for each item.

 

func ForEach(_ Action: Action<T>)

Parameters:

  • Action:

IndexOf    (declared in ImmutableList<T>)

Returns the index of matching item, or -1.

 

func IndexOf(_ aItem: T) -> Int32

Parameters:

  • aItem:

Item    (declared in ImmutableList<T>)

Indexer for the list.

 

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

JoinedString  virtual    (declared in ImmutableList<T>)

Join the items in this list together with separator as separator.

 

func JoinedString(_ aSeparator: String) -> String

Parameters:

  • aSeparator:

LastIndexOf    (declared in ImmutableList<T>)

Returns the index of matching item, or -1, in reverse lookup order.

 

func LastIndexOf(_ aItem: T) -> Int32

Parameters:

  • aItem:

LastObject    (declared in ImmutableList<T>)

Returns the last object in the list, or fails.

 

var LastObject: T { get{} }

MutableVersion    (declared in ImmutableList<T>)

creates a copy of the list as mutable list.

 

func MutableVersion() -> List<T>

SubList (Int32): ImmutableList<T>    (declared in ImmutableList<T>)

Creates a copy of a sub part of this list.

 

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

Parameters:

  • aStartIndex:

SubList (Int32, Int32): ImmutableList<T>    (declared in ImmutableList<T>)

Creates a copy of a sub part of this list.

 

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

Parameters:

  • aStartIndex:
  • aLength:

ToArray    (declared in ImmutableList<T>)

Creates an array from the items in this list.

 

func ToArray() -> T...

ToList<U>    (declared in ImmutableList<T>)

Returns itself.

 

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

ToSortedList  virtual

 

func ToSortedList() -> ImmutableList<T>

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

Sorts this list ,and returns a copy.

 

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

Parameters:

  • Comparison:

TrueForAll    (declared in ImmutableList<T>)

Returns true if the predicate is true for all items in this list.

 

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

Parameters:

  • Match:

 

Count    (declared in ImmutableList<T>)

Returns the item count in this list.

 

var Count: Int32 { get{} }

FirstObject    (declared in ImmutableList<T>)

Returns the first element (or fails)

 

var FirstObject: T { get{} }

Item    (declared in ImmutableList<T>)

Indexer for the list.

 

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

LastObject    (declared in ImmutableList<T>)

Returns the last object in the list, or fails.

 

var LastObject: T { get{} }

 

constructor    (declared in ImmutableList<T>)

Creates a new list class.

 

init()

constructor (array of T)    (declared in ImmutableList<T>)

Creates a new list class.

 

init(_ anArray: T...)

Parameters:

  • anArray:

constructor (ImmutableList<T>)    (declared in ImmutableList<T>)

Creates a new list class.

 

init(_ Items: ImmutableList<T>)

Parameters:

  • Items:

constructor (INSFastEnumeration<T>)    (declared in ImmutableList<T>)

Creates a new list class.

 

init(_ Items: INSFastEnumeration<T>)

Parameters:

  • Items:

Contains    (declared in ImmutableList<T>)

Returns true if this list contains aItem.

 

func Contains(_ aItem: T) -> Boolean

Parameters:

  • aItem:

Exists    (declared in ImmutableList<T>)

Returns true if this list contains an element matching the predicate.

 

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

Parameters:

  • Match:

Find    (declared in ImmutableList<T>)

Returns the first match that matches the predicate.

 

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

Parameters:

  • Match:

FindAll    (declared in ImmutableList<T>)

Returns all matches that matches the predicate.

 

func FindAll(_ Match: Predicate<T>) -> INSFastEnumeration<T>

Parameters:

  • Match:

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

Find the index of first matching item matching the predicate.

 

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

Parameters:

  • StartIndex:
  • aCount:
  • Match:

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

Find the index of first matching item matching the predicate.

 

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

Parameters:

  • StartIndex:
  • Match:

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

Find the index of first matching item matching the predicate.

 

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

Parameters:

  • Match:

ForEach    (declared in ImmutableList<T>)

Loops over al litems and triggers the action for each item.

 

func ForEach(_ Action: Action<T>)

Parameters:

  • Action:

IndexOf    (declared in ImmutableList<T>)

Returns the index of matching item, or -1.

 

func IndexOf(_ aItem: T) -> Int32

Parameters:

  • aItem:

JoinedString  virtual    (declared in ImmutableList<T>)

Join the items in this list together with separator as separator.

 

func JoinedString(_ aSeparator: String) -> String

Parameters:

  • aSeparator:

LastIndexOf    (declared in ImmutableList<T>)

Returns the index of matching item, or -1, in reverse lookup order.

 

func LastIndexOf(_ aItem: T) -> Int32

Parameters:

  • aItem:

MutableVersion    (declared in ImmutableList<T>)

creates a copy of the list as mutable list.

 

func MutableVersion() -> List<T>

SubList (Int32): ImmutableList<T>    (declared in ImmutableList<T>)

Creates a copy of a sub part of this list.

 

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

Parameters:

  • aStartIndex:

SubList (Int32, Int32): ImmutableList<T>    (declared in ImmutableList<T>)

Creates a copy of a sub part of this list.

 

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

Parameters:

  • aStartIndex:
  • aLength:

ToArray    (declared in ImmutableList<T>)

Creates an array from the items in this list.

 

func ToArray() -> T...

ToList<U>    (declared in ImmutableList<T>)

Returns itself.

 

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

ToSortedList  virtual

 

func ToSortedList() -> ImmutableList<T>

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

Sorts this list ,and returns a copy.

 

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

Parameters:

  • Comparison:

TrueForAll    (declared in ImmutableList<T>)

Returns true if the predicate is true for all items in this list.

 

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

Parameters:

  • Match: