Class 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 are SparseEntry (if objectsOnly is false) and have the index too.
    • Constructor Detail

      • MyIterator

        public MyIterator​(Iterator arrayIterator,
                          Iterator sparseEntryIterator,
                          boolean objectsOnly)