org.schwiebert.abl4j.align
Enum InsertMode
java.lang.Object
java.lang.Enum<InsertMode>
org.schwiebert.abl4j.align.InsertMode
- All Implemented Interfaces:
- Serializable, Comparable<InsertMode>
public enum InsertMode
- extends Enum<InsertMode>
An Enum required to handle Edit Operation Alignment.
- Author:
- sschwieb
- See Also:
AbstractAdvancedMethod.handleEditOperationStructure(org.schwiebert.abl4j.data.ITreeBank, org.schwiebert.abl4j.data.ITree)
|
Method Summary |
static InsertMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static InsertMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
NONE
public static final InsertMode NONE
SAME
public static final InsertMode SAME
DIFF
public static final InsertMode DIFF
values
public static final InsertMode[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(InsertMode c : InsertMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static InsertMode valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
© 2007 Stephan Schwiebert