Program Base Library Functions

int pblArrayListContainsAll

( pblArrayList* arrayList,
  void* collection )

Returns a value > 0 if this collection contains all of the elements in the specified collection.

Documentation

Returns a value > 0 if this collection contains all of the elements in the specified collection.

This implementation iterates over the specified collection, checking each element returned by the iterator in turn to see if it's contained in this collection. If all elements are so contained a value > 0 is returned, otherwise 0.

Parameters:
arrayList - The list to use
collection - The collection to be checked for containment in this list.
Returns:
int rc > 0: arrayList contains all of the elements in the specified collection.
int rc == 0: arrayList does not contain all of the elements
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++.