Mission Base

Program Base Library Functions

int pblIteratorNextIndex

( PblIterator* iterator )

Returns the index of the element that would be returned by a subsequent call to next.

Documentation

Returns the index of the element that would be returned by a subsequent call to next.

Returns list size if the list iterator is at the end of the list.

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

Parameters:
iterator - The iterator to use
Returns:
int rc: The index of the element that would be returned by a subsequent call to next, or list size if list iterator is at end of list.

Alphabetic index



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