ListHelpers

Overview

Location

Class Methods


AddRange

 

class method AddRange(aSelf: List<T>; aArr: array of T)

 

static void AddRange(List<T> aSelf, T[] aArr)

 

static func AddRange(_ aSelf: List<T>, _ aArr: T...)

 

static void AddRange(List<T> aSelf, T[] aArr)

Parameters:

  • aSelf:
  • aArr:

Find

 

class method Find(aSelf: List<T>; Match: Predicate<T>): T

 

static T Find(List<T> aSelf, Predicate<T> Match)

 

static func Find(_ aSelf: List<T>, _ Match: Predicate<T>) -> T

 

static T Find(List<T> aSelf, Predicate<T> Match)

Parameters:

  • aSelf:
  • Match:

FindAll

 

class method FindAll(aSelf: List<T>; Match: Predicate<T>): List<T>

 

static List<T> FindAll(List<T> aSelf, Predicate<T> Match)

 

static func FindAll(_ aSelf: List<T>, _ Match: Predicate<T>) -> List<T>

 

static List<T> FindAll(List<T> aSelf, Predicate<T> Match)

Parameters:

  • aSelf:
  • Match:

FindIndex

 

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

 

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

 

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

 

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

Parameters:

  • aSelf:
  • StartIndex:
  • aCount:
  • Match:

ForEach

 

class method ForEach(aSelf: List<T>; Action: Action<T>)

 

static void ForEach(List<T> aSelf, Action<T> Action)

 

static func ForEach(_ aSelf: List<T>, _ Action: Action<T>)

 

static void ForEach(List<T> aSelf, Action<T> Action)

Parameters:

  • aSelf:
  • Action:

InsertRange

 

class method InsertRange(aSelf: List<T>; Index: Int32; Items: array of T)

 

static void InsertRange(List<T> aSelf, Int32 Index, T[] Items)

 

static func InsertRange(_ aSelf: List<T>, _ Index: Int32, _ Items: T...)

 

static void InsertRange(List<T> aSelf, Int32 Index, T[] Items)

Parameters:

  • aSelf:
  • Index:
  • Items:

TrueForAll

 

class method TrueForAll(aSelf: List<T>; Match: Predicate<T>): Boolean

 

static Boolean TrueForAll(List<T> aSelf, Predicate<T> Match)

 

static func TrueForAll(_ aSelf: List<T>, _ Match: Predicate<T>) -> Boolean

 

static Boolean TrueForAll(List<T> aSelf, Predicate<T> Match)

Parameters:

  • aSelf:
  • Match: