![]() |
Qore jni Module 2.4.0
|
Java wrapper for the Qore::AbstractIterator class in Qore. More...
Public Member Methods | |
| AbstractIterator (QoreObject obj) throws Throwable | |
| creates the object as a wrapper for the Qore object | |
| boolean | next () throws Throwable |
| Moves the current position to the next element; returns False if there are no more elements. | |
| Object | getValue () throws Throwable |
| returns the current value | |
| boolean | valid () throws Throwable |
| returns true if the iterator is currently pointing at a valid element, false if not | |
Java wrapper for the Qore::AbstractIterator class in Qore.
import qore.Qore.AbstractIterator;
|
inline |
returns the current value
| INVALID-ITERATOR | the iterator is not pointing at a valid element |
Reimplemented in org.qore.lang.dataprovider.AbstractDataProviderBulkRecordInterface, and org.qore.lang.dataprovider.AbstractDataProviderRecordIterator.
|
inline |
Moves the current position to the next 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
|
inline |
returns true if the iterator is currently pointing at a valid element, false if not
Reimplemented in org.qore.lang.dataprovider.AbstractDataProviderBulkRecordInterface.