public enum HanXinInverse extends java.lang.Enum<HanXinInverse> implements IEnumType
Enum Constant and Description |
---|
Inverse
the decoder decodes inverse 1D bar codes only.
|
InverseAutodetect
the decoder decodes both regular and inverse 1D bar codes.
|
Regular
the decoder decodes regular 1D bar codes only.
|
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
java.lang.String |
toString() |
static HanXinInverse |
valueOf(int code) |
static HanXinInverse |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HanXinInverse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HanXinInverse Regular
public static final HanXinInverse Inverse
public static final HanXinInverse InverseAutodetect
public static HanXinInverse[] values()
for (HanXinInverse c : HanXinInverse.values()) System.out.println(c);
public static HanXinInverse 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 nullpublic java.lang.String toString()
toString
in interface IEnumType
toString
in class java.lang.Enum<HanXinInverse>
public static HanXinInverse valueOf(int code)