Class PackedQuadPrefixTree.PrefixTreeIterator

  • All Implemented Interfaces:
    Iterator<Cell>
    Enclosing class:
    PackedQuadPrefixTree

    protected class PackedQuadPrefixTree.PrefixTreeIterator
    extends CellIterator
    This is a streamlined version of TreeCellIterator, with built-in support to prune at detailLevel (but not recursively upwards).
    • Method Detail

      • hasNext

        public boolean hasNext()
      • remove

        public void remove()
        Description copied from class: CellIterator
        This prevents sub-cells (those underneath the current cell) from being iterated to, if applicable, otherwise a NO-OP.
        Specified by:
        remove in interface Iterator<Cell>
        Overrides:
        remove in class CellIterator