ABL4J (Alignment Based Learning for Java) - 0.9.7

org.schwiebert.abl4j.align
Enum InsertMode

java.lang.Object
  extended by java.lang.Enum<InsertMode>
      extended by 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)

Enum Constant Summary
DIFF
           
NONE
           
SAME
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final InsertMode NONE

SAME

public static final InsertMode SAME

DIFF

public static final InsertMode DIFF
Method Detail

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

ABL4J (Alignment Based Learning for Java) - 0.9.7

© 2007 Stephan Schwiebert