Mission Base

Program Base Library Functions

int pblIteratorPreviousIndex

( PblIterator* iterator )

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

Documentation

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

Returns -1 if the list iterator is at the beginning 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 previous, or -1 if list iterator is at beginning of list.

Alphabetic index



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