Qore Programming Language Reference Manual 2.0.0
|
This class defines an abstract interface for bidirectional iterators. More...
#include <QC_AbstractBidirectionalIterator.dox.h>
Public Member Methods | |
abstract bool | prev () |
Moves the current position to the previous element; returns False if there are no more elements. | |
Public Member Methods inherited from Qore::AbstractIterator | |
abstract auto | getValue () |
returns the current value | |
abstract bool | next () |
Moves the current position to the next element; returns False if there are no more elements. | |
abstract bool | valid () |
returns True if the iterator is currently pointing at a valid element, False if not | |
This class defines an abstract interface for bidirectional iterators.
Moves the current position to the previous element; returns False if there are no more elements.
This method will return True again after it returns False once if the object being iterated is not empty, otherwise it will always return False. The iterator object should not be used after this method returns False