Package org.qdl_lang.variables
Class QDLList.MyIterator
- java.lang.Object
-
- org.qdl_lang.variables.QDLList.MyIterator
-
- All Implemented Interfaces:
Iterator
- Enclosing class:
- QDLList
public static class QDLList.MyIterator extends Object implements Iterator
This iterates over the elements of this QDL list. It will do elements in the array list -- so next returns the actual object -- and the index may be inferred. Then it will iterate over the elements of the sparse entries, which areSparseEntry
(if objectsOnly is false) and have the index too.
-
-
Constructor Summary
Constructors Constructor Description MyIterator(Iterator arrayIterator, Iterator sparseEntryIterator, boolean objectsOnly)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
Object
next()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-