Class S2PointCompression.NthDerivativeCoder

  • Enclosing class:
    S2PointCompression

    static final class S2PointCompression.NthDerivativeCoder
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int m  
      private int[] memory  
      private int n  
      static int N_MAX  
      static int N_MIN  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int decode​(int k)  
      int encode​(int k)  
      int getN()  
      void reset()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NthDerivativeCoder

        public NthDerivativeCoder​(int n)
    • Method Detail

      • getN

        public int getN()
      • encode

        public int encode​(int k)
      • decode

        public int decode​(int k)
      • reset

        public void reset()