final class FormatInformation
extends java.lang.Object
Encapsulates a QR Code's format information, including the data mask used and error correction level.
ErrorCorrectionLevel
修飾子とタイプ | メソッド | 説明 |
---|---|---|
(package private) static FormatInformation |
decodeFormatInformation(int maskedFormatInfo1,
int maskedFormatInfo2) |
|
boolean |
equals(java.lang.Object o) |
|
(package private) byte |
getDataMask() |
|
(package private) ErrorCorrectionLevel |
getErrorCorrectionLevel() |
|
int |
hashCode() |
|
(package private) static int |
numBitsDiffering(int a,
int b) |
static int numBitsDiffering(int a, int b)
static FormatInformation decodeFormatInformation(int maskedFormatInfo1, int maskedFormatInfo2)
maskedFormatInfo1
- format info indicator, with mask still appliedmaskedFormatInfo2
- second copy of same info; both are checked at the same time
to establish best matchnull
if doesn't seem to match any known patternErrorCorrectionLevel getErrorCorrectionLevel()
byte getDataMask()
public int hashCode()
hashCode
クラス内 java.lang.Object
public boolean equals(java.lang.Object o)
equals
クラス内 java.lang.Object