Interface HPRtreeX.ItemVisitor<T>

Type Parameters:
T - the type of items visited
Enclosing class:
HPRtreeX<T>

public static interface HPRtreeX.ItemVisitor<T>
Visitor interface used by HPRtreeX.query(Envelope, ItemVisitor) to process items that intersect a query envelope.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    visitItem(T item)
    Invoked for each item whose envelope intersects the current query envelope.
  • Method Details

    • visitItem

      boolean visitItem(T item)
      Invoked for each item whose envelope intersects the current query envelope.
      Parameters:
      item - the item being visited
      Returns:
      true to continue visiting additional items, false to terminate the traversal early