Class Version.ECBlocks
- java.lang.Object
-
- com.google.zxing.datamatrix.decoder.Version.ECBlocks
-
- Enclosing class:
- Version
static final class Version.ECBlocks extends java.lang.ObjectEncapsulates a set of error-correction blocks in one symbol version. Most versions will use blocks of differing sizes within one version, so, this encapsulates the parameters for each set of blocks. It also holds the number of error-correction codewords per block since it will be the same across all blocks within one version.
-
-
Field Summary
Fields Modifier and Type Field Description private Version.ECB[]ecBlocksprivate intecCodewords
-
Constructor Summary
Constructors Modifier Constructor Description privateECBlocks(int ecCodewords, Version.ECB ecBlocks)privateECBlocks(int ecCodewords, Version.ECB ecBlocks1, Version.ECB ecBlocks2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Version.ECB[]getECBlocks()(package private) intgetECCodewords()
-
-
-
Field Detail
-
ecCodewords
private final int ecCodewords
-
ecBlocks
private final Version.ECB[] ecBlocks
-
-
Constructor Detail
-
ECBlocks
private ECBlocks(int ecCodewords, Version.ECB ecBlocks)
-
ECBlocks
private ECBlocks(int ecCodewords, Version.ECB ecBlocks1, Version.ECB ecBlocks2)
-
-
Method Detail
-
getECCodewords
int getECCodewords()
-
getECBlocks
Version.ECB[] getECBlocks()
-
-