Class S2CellIndex.CellNode

  • Enclosing class:
    S2CellIndex

    private static final class S2CellIndex.CellNode
    extends java.lang.Object
    Represents a node in the (cellId, label) tree. Cells are organized in a tree such that the ancestors of a given node contain that node.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private S2CellId cellId  
      private int label  
      private int parent  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CellNode​(S2CellId cellId, int label, int parent)  
    • Field Detail

      • label

        private int label
      • parent

        private int parent
    • Constructor Detail

      • CellNode

        private CellNode​(S2CellId cellId,
                         int label,
                         int parent)