public static enum ReadOption.PositiveNegative extends java.lang.Enum<ReadOption.PositiveNegative>
| Enum Constant and Description |
|---|
NEGATIVE_ONLY
反転コードのみ Reverse code only |
POSITIVE_NEGATIVE
正転・反転コードの両方を読み取る Read both forward and reverse codes |
POSITIVE_ONLY
正転コードのみ Forward code only |
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
static ReadOption.PositiveNegative |
valueOf(int id) |
static ReadOption.PositiveNegative |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReadOption.PositiveNegative[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadOption.PositiveNegative POSITIVE_ONLY
public static final ReadOption.PositiveNegative NEGATIVE_ONLY
public static final ReadOption.PositiveNegative POSITIVE_NEGATIVE
public static ReadOption.PositiveNegative[] values()
for (ReadOption.PositiveNegative c : ReadOption.PositiveNegative.values()) System.out.println(c);
public static ReadOption.PositiveNegative 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 getId()
public static ReadOption.PositiveNegative valueOf(int id)