Program Base Library Functions
( pblArrayList* arrayList, int index,
void* element )
Replaces the element at the specified position in this list with the specified element.
Documentation
Replaces the element at the specified position in this list with the specified element.
- Parameters:
- arrayList - The list to use
index - Index of element to replace
element - Element to be stored at the specified position
- Returns:
- void * retptr != (void*)-1: The element previously at the specified position
void * retptr == (void*)-1: An error, see pbl_errno
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++.