Package io.scanbot.sdk.barcode
Enum Class MsiPlesseyChecksumAlgorithm
- All Implemented Interfaces:
Serializable,Comparable<MsiPlesseyChecksumAlgorithm>,Constable
Checksum algorithm for MSI_PLESSEY.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionModulo 10.Modulo 1010.Modulo 1110 IBM.Modulo 1110 NCR.Modulo 11 IBM.Modulo 11 NCR. -
Method Summary
Modifier and TypeMethodDescriptionstatic MsiPlesseyChecksumAlgorithmReturns the enum constant of this class with the specified name.static MsiPlesseyChecksumAlgorithm[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MOD_10
Modulo 10. -
MOD_11_IBM
Modulo 11 IBM. -
MOD_11_NCR
Modulo 11 NCR. -
MOD_10_10
Modulo 1010. -
MOD_11_10_IBM
Modulo 1110 IBM. -
MOD_11_10_NCR
Modulo 1110 NCR.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-