public static enum ScannerConfig.CheckDigitScheme extends Enum<ScannerConfig.CheckDigitScheme>
Example Usage: CheckDigitScheme.MOD_11_10;
Enum Constant and Description |
---|
MOD_10_10
Both check digits are MOD 10.
|
MOD_11_10
First check digit is MOD 11 and second check digit is MOD 10.
|
Modifier and Type | Method and Description |
---|---|
static ScannerConfig.CheckDigitScheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScannerConfig.CheckDigitScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScannerConfig.CheckDigitScheme MOD_11_10
public static final ScannerConfig.CheckDigitScheme MOD_10_10
public static ScannerConfig.CheckDigitScheme[] values()
for (ScannerConfig.CheckDigitScheme c : ScannerConfig.CheckDigitScheme.values()) System.out.println(c);
public static ScannerConfig.CheckDigitScheme valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null