ListHelpers
Overview
Location
- Reference: elements.jar
- Namespace: RemObjects.Elements.RTL
- Platforms: Cooper
constructor protected
constructor
ListHelpers()
init()
ListHelpers()
Sub New()
AddRange<T>
class method AddRange<T>(aSelf: List<T>; aArr: array of T)
static void AddRange<T>(List<T> aSelf, T[] aArr)
static func AddRange<T>(_ aSelf: List<T>, _ aArr: T...)
static void AddRange<T>(List<T> aSelf, T[] aArr)
Shared Sub AddRange<T>(aSelf As List<T>, aArr As T())
Parameters:
- aSelf:
- aArr:
Find<T>
class method Find<T>(aSelf: ImmutableList<T>; Match: Predicate<T>): T
static T Find<T>(ImmutableList<T> aSelf, Predicate<T> Match)
static func Find<T>(_ aSelf: ImmutableList<T>, _ Match: Predicate<T>) -> T
static T Find<T>(ImmutableList<T> aSelf, Predicate<T> Match)
Shared Function Find<T>(aSelf As ImmutableList<T>, Match As Predicate<T>) As T
Parameters:
- aSelf:
- Match:
FindAll<T>
class method FindAll<T>(aSelf: ImmutableList<T>; Match: Predicate<T>): not nullable Iterable<T>
static Iterable<T>! FindAll<T>(ImmutableList<T> aSelf, Predicate<T> Match)
static func FindAll<T>(_ aSelf: ImmutableList<T>, _ Match: Predicate<T>) -> Iterable<T>
static Iterable<T> FindAll<T>(ImmutableList<T> aSelf, Predicate<T> Match)
Shared Function FindAll<T>(aSelf As ImmutableList<T>, Match As Predicate<T>) As Iterable<T>
Parameters:
- aSelf:
- Match:
FindIndex<T>
class method FindIndex<T>(aSelf: ImmutableList<T>; StartIndex: Integer; aCount: Integer; Match: Predicate<T>): Integer
static Integer FindIndex<T>(ImmutableList<T> aSelf, Integer StartIndex, Integer aCount, Predicate<T> Match)
static func FindIndex<T>(_ aSelf: ImmutableList<T>, _ StartIndex: Integer, _ aCount: Integer, _ Match: Predicate<T>) -> Integer
static Integer FindIndex<T>(ImmutableList<T> aSelf, Integer StartIndex, Integer aCount, Predicate<T> Match)
Shared Function FindIndex<T>(aSelf As ImmutableList<T>, StartIndex As Integer, aCount As Integer, Match As Predicate<T>) As Integer
Parameters:
- aSelf:
- StartIndex:
- aCount:
- Match:
ForEach<T>
class method ForEach<T>(aSelf: ImmutableList<T>; Action: Action<T>)
static void ForEach<T>(ImmutableList<T> aSelf, Action<T> Action)
static func ForEach<T>(_ aSelf: ImmutableList<T>, _ Action: Action<T>)
static void ForEach<T>(ImmutableList<T> aSelf, Action<T> Action)
Shared Sub ForEach<T>(aSelf As ImmutableList<T>, Action As Action<T>)
Parameters:
- aSelf:
- Action:
InsertRange<T>
Parameters:
- aSelf:
- Index:
- Items:
ToArrayReverse<T>
class method ToArrayReverse<T>(aSelf: Vector<T>; aDest: not nullable array of T): not nullable array of T
static T[]! ToArrayReverse<T>(Vector<T> aSelf, T[]! aDest)
static func ToArrayReverse<T>(_ aSelf: Vector<T>, _ aDest: T...) -> T...
static T[] ToArrayReverse<T>(Vector<T> aSelf, T[] aDest)
Shared Function ToArrayReverse<T>(aSelf As Vector<T>, aDest As T()) As T()
Parameters:
- aSelf:
- aDest:
TrueForAll<T>
class method TrueForAll<T>(aSelf: ImmutableList<T>; Match: Predicate<T>): Boolean
static Boolean TrueForAll<T>(ImmutableList<T> aSelf, Predicate<T> Match)
static func TrueForAll<T>(_ aSelf: ImmutableList<T>, _ Match: Predicate<T>) -> Boolean
static Boolean TrueForAll<T>(ImmutableList<T> aSelf, Predicate<T> Match)
Shared Function TrueForAll<T>(aSelf As ImmutableList<T>, Match As Predicate<T>) As Boolean
Parameters:
- aSelf:
- Match:
AddRange<T>
class method AddRange<T>(aSelf: List<T>; aArr: array of T)
static void AddRange<T>(List<T> aSelf, T[] aArr)
static func AddRange<T>(_ aSelf: List<T>, _ aArr: T...)
static void AddRange<T>(List<T> aSelf, T[] aArr)
Shared Sub AddRange<T>(aSelf As List<T>, aArr As T())
Parameters:
- aSelf:
- aArr:
Find<T>
class method Find<T>(aSelf: ImmutableList<T>; Match: Predicate<T>): T
static T Find<T>(ImmutableList<T> aSelf, Predicate<T> Match)
static func Find<T>(_ aSelf: ImmutableList<T>, _ Match: Predicate<T>) -> T
static T Find<T>(ImmutableList<T> aSelf, Predicate<T> Match)
Shared Function Find<T>(aSelf As ImmutableList<T>, Match As Predicate<T>) As T
Parameters:
- aSelf:
- Match:
FindAll<T>
class method FindAll<T>(aSelf: ImmutableList<T>; Match: Predicate<T>): not nullable Iterable<T>
static Iterable<T>! FindAll<T>(ImmutableList<T> aSelf, Predicate<T> Match)
static func FindAll<T>(_ aSelf: ImmutableList<T>, _ Match: Predicate<T>) -> Iterable<T>
static Iterable<T> FindAll<T>(ImmutableList<T> aSelf, Predicate<T> Match)
Shared Function FindAll<T>(aSelf As ImmutableList<T>, Match As Predicate<T>) As Iterable<T>
Parameters:
- aSelf:
- Match:
FindIndex<T>
class method FindIndex<T>(aSelf: ImmutableList<T>; StartIndex: Integer; aCount: Integer; Match: Predicate<T>): Integer
static Integer FindIndex<T>(ImmutableList<T> aSelf, Integer StartIndex, Integer aCount, Predicate<T> Match)
static func FindIndex<T>(_ aSelf: ImmutableList<T>, _ StartIndex: Integer, _ aCount: Integer, _ Match: Predicate<T>) -> Integer
static Integer FindIndex<T>(ImmutableList<T> aSelf, Integer StartIndex, Integer aCount, Predicate<T> Match)
Shared Function FindIndex<T>(aSelf As ImmutableList<T>, StartIndex As Integer, aCount As Integer, Match As Predicate<T>) As Integer
Parameters:
- aSelf:
- StartIndex:
- aCount:
- Match:
ForEach<T>
class method ForEach<T>(aSelf: ImmutableList<T>; Action: Action<T>)
static void ForEach<T>(ImmutableList<T> aSelf, Action<T> Action)
static func ForEach<T>(_ aSelf: ImmutableList<T>, _ Action: Action<T>)
static void ForEach<T>(ImmutableList<T> aSelf, Action<T> Action)
Shared Sub ForEach<T>(aSelf As ImmutableList<T>, Action As Action<T>)
Parameters:
- aSelf:
- Action:
InsertRange<T>
Parameters:
- aSelf:
- Index:
- Items:
ToArrayReverse<T>
class method ToArrayReverse<T>(aSelf: Vector<T>; aDest: not nullable array of T): not nullable array of T
static T[]! ToArrayReverse<T>(Vector<T> aSelf, T[]! aDest)
static func ToArrayReverse<T>(_ aSelf: Vector<T>, _ aDest: T...) -> T...
static T[] ToArrayReverse<T>(Vector<T> aSelf, T[] aDest)
Shared Function ToArrayReverse<T>(aSelf As Vector<T>, aDest As T()) As T()
Parameters:
- aSelf:
- aDest:
TrueForAll<T>
class method TrueForAll<T>(aSelf: ImmutableList<T>; Match: Predicate<T>): Boolean
static Boolean TrueForAll<T>(ImmutableList<T> aSelf, Predicate<T> Match)
static func TrueForAll<T>(_ aSelf: ImmutableList<T>, _ Match: Predicate<T>) -> Boolean
static Boolean TrueForAll<T>(ImmutableList<T> aSelf, Predicate<T> Match)
Shared Function TrueForAll<T>(aSelf As ImmutableList<T>, Match As Predicate<T>) As Boolean
Parameters:
- aSelf:
- Match:
constructor protected
constructor
ListHelpers()
init()
ListHelpers()
Sub New()