Program Base Library Functions
( pblArrayList* arrayList, int index,
void* collection )
Inserts all of the elements in the specified collection into this list at the specified position.
Documentation
Inserts all of the elements in the specified collection
into this list at the specified position.
Shifts the element currently at that position (if any) and any
subsequent elements to the right (increases their indices).
The new elements will appear in this list in the order that
they are returned by the specified collection's iterator.
The behavior of this operation is unspecified if the specified
collection is modified while the operation is in progress.
(Note that this will occur if the specified collection
is this list, and it's nonempty.)
- Parameters:
- arrayList - The list to use
index - Index at which the element is to be inserted
collection - The collection whose elements are to be added to this list.
- Returns:
- int rc >= 0: The size of this ArrayList instance
int rc < 0: An error, see pbl_errno
PBL_ERROR_OUT_OF_MEMORY - out of memory
PBL_ERROR_OUT_OF_BOUNDS - index is out of range
(index < 0 || index >= size())
Alphabetic index
This page was generated with the help of DOC++.