Interface S2CellIndex.CellVisitor

Enclosing class:
S2CellIndex

public static interface S2CellIndex.CellVisitor
A function that is called with each (cellId, label) pair to be visited.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    visit(S2CellId cellId, int label)
    Provides a (cellId, label) pair to this visitor, which may return true to keep searching.
  • Method Details

    • visit

      boolean visit(S2CellId cellId, int label)
      Provides a (cellId, label) pair to this visitor, which may return true to keep searching.