Mission Base

Program Base Library Functions

int pblListAddAll

( PblList* list, void* collection )

Appends all of the elements in the specified Collection to the end of this list, in the order that they are returned by the specified Collection's Iterator.

Documentation

Appends all of the elements in the specified Collection to the end of this list, in the order that they are returned by the specified Collection's Iterator.

This method has a time complexity of O(M), with M being the size of the collection whose elements are added.

Parameters:
list - The list to use
collection - The collection whose elements are to be added to this list.
Returns:
int rc >= 0: The size of this list instance.
int rc < 0: An error, see pbl_errno:
PBL_ERROR_OUT_OF_MEMORY - Out of memory.
PBL_ERROR_PARAM_LIST - Collection cannot be iterated.
PBL_ERROR_CONCURRENT_MODIFICATION - Collection was modified concurrently.

Alphabetic index



This page was generated with the help of DOC++.