Class Version.ECB

  • Enclosing class:
    Version

    public static final class Version.ECB
    extends java.lang.Object

    Encapsualtes the parameters for one error-correction block in one symbol version. This includes the number of data codewords, and the number of times a block with these parameters is used consecutively in the QR code version's format.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private int count  
      private int dataCodewords  
    • Constructor Summary

      Constructors 
      Constructor Description
      ECB​(int count, int dataCodewords)  
    • Field Detail

      • count

        private final int count
      • dataCodewords

        private final int dataCodewords
    • Constructor Detail

      • ECB

        ECB​(int count,
            int dataCodewords)
    • Method Detail

      • getCount

        public int getCount()
      • getDataCodewords

        public int getDataCodewords()