Class S2PointVectorCoder.MutableBlockCode

  • Enclosing class:
    S2PointVectorCoder

    private static final class S2PointVectorCoder.MutableBlockCode
    extends java.lang.Object
    Represents the encoding parameters to be used for a given block (consisting of S2PointVectorCoder.BLOCK_SIZE encodable 64-bit values).
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int deltaBits
      Delta length in bits (multiple of 4).
      (package private) int offsetBits
      Offset length in bits (multiple of 8).
      (package private) int overlapBits
      {Delta, Offset} overlap in bits (0 or 4).
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void set​(int deltaBits, int offsetBits, int overlapBits)  
      • Methods inherited from class java.lang.Object

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

      • deltaBits

        int deltaBits
        Delta length in bits (multiple of 4).
      • offsetBits

        int offsetBits
        Offset length in bits (multiple of 8).
      • overlapBits

        int overlapBits
        {Delta, Offset} overlap in bits (0 or 4).
    • Constructor Detail

      • MutableBlockCode

        MutableBlockCode()
    • Method Detail

      • set

        public void set​(int deltaBits,
                        int offsetBits,
                        int overlapBits)