Program Base Library Functions
( <!1>PblList* list, void* collection )
Returns a value > 0 if this list contains all of the elements in the specified collection.
Returns a value > 0 if this list 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 list.
If all elements are so contained a value > 0 is returned, otherwise 0.
This method has a time complexity of O(N * M),
with N being the size of the list and M being the size of the
- list - The list to use
collection - The collection to be checked for containment in this list.
- int rc > 0: The list contains all of the elements in the specified collection.
int rc == 0: The list does not contain all of the elements.
int rc < 0: An error, see pbl_errno:
PBL_ERROR_PARAM_COLLECTION - The collection cannot be iterated.
PBL_ERROR_CONCURRENT_MODIFICATION - The collection was modified concurrently.
This page was generated with the help of DOC++.