public static enum ScannerConfig.CheckDigit extends Enum<ScannerConfig.CheckDigit>
Example Usage: CheckDigit.ONE;
Enum Constant and Description |
---|
ONE
Verify one check digit.
|
TWO
Verify two check digits.
|
Modifier and Type | Method and Description |
---|---|
static ScannerConfig.CheckDigit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScannerConfig.CheckDigit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScannerConfig.CheckDigit ONE
public static final ScannerConfig.CheckDigit TWO
public static ScannerConfig.CheckDigit[] values()
for (ScannerConfig.CheckDigit c : ScannerConfig.CheckDigit.values()) System.out.println(c);
public static ScannerConfig.CheckDigit 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