Mission Base

Program Base Library Functions

void* pblIteratorNext

( PblIterator* iterator )

Returns the next element in the iteration.

Documentation

Returns the next element in the iteration.

Calling this method repeatedly until the hasNext() method returns false will return each element in the underlying collection exactly once.

This method has a time complexity of O(1).

Parameters:
iterator - The iterator to return the next element for
Returns:
void * retptr != (void*)-1: The next element in the iteration. May be NULL.
void * retptr == (void*)-1: An error, see pbl_errno:
PBL_ERROR_NOT_FOUND - The iteration has no more elements.
PBL_ERROR_CONCURRENT_MODIFICATION - The underlying collection was modified concurrently.

Alphabetic index



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