Properties
add
add: (value: E) => void
fillRange
fillRange: (start: number, end: number, fillValue?: E) => void
Type declaration
-
- (start: number, end: number, fillValue?: E): void
-
Parameters
-
start: number
-
end: number
-
Optional fillValue: E
Returns void
insert
insert: (index: number, element: E) => void
Type declaration
-
- (index: number, element: E): void
insertAll
insert
All: (at: number, iterable: IIterable<E>) => void
remove
remove: (element?: Object) => boolean
Type declaration
-
- (element?: Object): boolean
-
Parameters
Returns boolean
removeAt
removeAt: (index: number) => E
removeLast
removeLast: () => E
removeRange
removeRange: (start: number, end: number) => void
Type declaration
-
- (start: number, end: number): void
-
Parameters
-
start: number
-
end: number
Returns void
removeWhere
removeWhere: (test: (element: E) => boolean) => void
Type declaration
-
- (test: (element: E) => boolean): void
-
Parameters
-
test: (element: E) => boolean
-
-
Parameters
Returns boolean
Returns void
replaceRange
replace
Range: (start: number, end: number, iterable: IIterable<E>) => void
Type declaration
-
- (start: number, end: number, iterable: IIterable<E>): void
-
Parameters
-
start: number
-
end: number
-
Returns void
retainWhere
retainWhere: (test: (element: E) => boolean) => void
Type declaration
-
- (test: (element: E) => boolean): void
-
Parameters
-
test: (element: E) => boolean
-
-
Parameters
Returns boolean
Returns void
setAll
set
All: (at: number, iterable: IIterable<E>) => void
setFirst
setFirst: (element: E) => void
setLast
setLast: (element: E) => void
setLength
setLength: (newLength: number) => void
Type declaration
-
- (newLength: number): void
setRange
set
Range: (start: number, end: number, iterable: IIterable<E>, skipCount: number) => void
Type declaration
-
- (start: number, end: number, iterable: IIterable<E>, skipCount: number): void
-
Parameters
-
start: number
-
end: number
-
-
skipCount: number
Returns void
shuffle
shuffle: (random?: IRandom) => void
sort
sort: (compare?: (a: E, b: E) => number) => void
Type declaration
-
- (compare?: (a: E, b: E) => number): void
-
Parameters
-
Optional compare: (a: E, b: E) => number
-
-
Parameters
Returns number
Returns void