Class CMapBlock


  • public class CMapBlock
    extends Object
    Immutable second-level blocks for constructing the two-level character map table.
    • Field Detail

      • BLOCK_BITS

        public static final int BLOCK_BITS
        How many bits the second-level char map tables translate
        See Also:
        Constant Field Values
      • BLOCK_SIZE

        public static final int BLOCK_SIZE
        Size of the second-level char map arrays
        See Also:
        Constant Field Values
      • block

        public final int[] block
        array of BLOCK_SIZE; reference immutable; contents intended to be as well
    • Constructor Detail

      • CMapBlock

        public CMapBlock​(int[] block)
        Constructs new CMapBlock and pre-computes its hash
        Parameters:
        block - an int array of size @{link BLOCK_SIZE}.