delphirtl • Docs
delphirtl / List
List
List
• T
new List<
T
>():List
<T
>
List
<T
>
get length():
number
Returns the length of this list
number
[iterator]():
Iterator
<T
,any
,any
>
Iterator
<T
, any
, any
>
add(
value
):void
Adds a value to the list
• value: T
The value to add to the list
void
delete(
value
):boolean
Delete a specified value
• value: T
boolean
find(
callback
):boolean
• callback: T
boolean
get(
index
):T
• index: number
T
indexOf(
value
):number
• value: T
number
remove(
value
):boolean
Removes the specified value
• value: T
boolean
size():
number
number
Size of the List