public static enum ScannerConfig.CheckDigit extends java.lang.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(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null