public static enum VariableTable.RedefineStrategy extends Enum<VariableTable.RedefineStrategy>
Enum Constant and Description |
---|
ERROR
Raises errors.
|
IGNORE
Ignores except the first one.
|
OVERWRITE
Overwrites by the last one.
|
Modifier and Type | Method and Description |
---|---|
static VariableTable.RedefineStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VariableTable.RedefineStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VariableTable.RedefineStrategy OVERWRITE
public static final VariableTable.RedefineStrategy IGNORE
public static final VariableTable.RedefineStrategy ERROR
public static VariableTable.RedefineStrategy[] values()
for (VariableTable.RedefineStrategy c : VariableTable.RedefineStrategy.values()) System.out.println(c);
public static VariableTable.RedefineStrategy 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 © 2011–2019 Asakusa Framework Team. All rights reserved.