Class PackedQuadPrefixTree.PrefixTreeIterator

java.lang.Object
org.apache.lucene.spatial.prefix.tree.CellIterator
org.apache.lucene.spatial.prefix.tree.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 Details

    • hasNext

      public boolean hasNext()
    • next

      public Cell next()
      Specified by:
      next in interface Iterator<Cell>
      Overrides:
      next in class CellIterator
    • 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