Program Base Library Functions

int pblArrayListRemoveAll

( pblArrayList* arrayList,
  void* collection )

Removes from this collection all of its elements that are contained in the specified collection.

Documentation

Removes from this collection all of its elements that are contained in the specified collection.

This implementation iterates over this collection, checking each element returned by the iterator in turn to see if it's contained in the specified collection.

If it's so contained, it's removed from this collection with the iterator's remove method.

Parameters:
arrayList - The list to use
collection - The collection whose elements are to be removed from this list.
Returns:
int rc > 0: If this collection changed as a result of the call.
int rc == 0: This collection did not change
int rc < 0: An error, see pbl_errno PBL_ERROR_OUT_OF_MEMORY - out of memory

Alphabetic index



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