Program Base Library Functions

int pblArrayListAddAt

( pblArrayList* arrayList, int index,
  void* element )

Inserts the specified element at the specified position in this list.

Documentation

Inserts the specified element at the specified position in this list. Shifts the element currently at that position (if any) and any subsequent elements to the right (adds one to their indices).

Parameters:
arrayList - The list to use
index - Index at which the element is to be inserted
element - Element to be appended 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++.