public static enum ModCheck.ModType extends Enum<ModCheck.ModType>
Enum Constant and Description |
---|
MOD10
Represents a MOD10 algorithm (Also known as Luhn algorithm)
|
MOD11
Represents a MOD11 algorithm
|
Modifier and Type | Method and Description |
---|---|
static ModCheck.ModType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModCheck.ModType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModCheck.ModType MOD10
public static final ModCheck.ModType MOD11
public static ModCheck.ModType[] values()
for (ModCheck.ModType c : ModCheck.ModType.values()) System.out.println(c);
public static ModCheck.ModType 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 nullCopyright © 2007-2014 Red Hat Middleware, LLC. All Rights Reserved