| Enum Constant and Description |
|---|
INVOICE
发票数据
|
STATEMENT
结算单
|
TAX_TERMINAL_DEVICE
税控终端&税控设备
|
| Modifier and Type | Method and Description |
|---|---|
static int |
allTrue() |
static int |
toValue(java.util.Collection<java.lang.Integer> values) |
static int |
toValue(java.lang.String value) |
static java.util.List<java.lang.Integer> |
toValues(int value) |
int |
value() |
static Switch |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Switch[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Switch INVOICE
public static final Switch STATEMENT
public static final Switch TAX_TERMINAL_DEVICE
public static Switch[] values()
for (Switch c : Switch.values()) System.out.println(c);
public static Switch 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 int value()
value in interface io.geewit.core.utils.enums.Valuepublic static int toValue(java.util.Collection<java.lang.Integer> values)
public static int toValue(java.lang.String value)
public static java.util.List<java.lang.Integer> toValues(int value)
public static int allTrue()