ABL4J (Alignment Based Learning for Java) - 0.9.7

org.schwiebert.abl4j.align
Enum PartType

java.lang.Object
  extended by java.lang.Enum<PartType>
      extended by org.schwiebert.abl4j.align.PartType
All Implemented Interfaces:
Serializable, Comparable<PartType>

public enum PartType
extends Enum<PartType>

Parts of the sentences that should be hypotheses.


Enum Constant Summary
BOTH
          Both equal and unequal parts are hypotheses
EQUAL
          Equal parts are hypotheses
UNEQUAL
          Unequal parts are hypotheses
 
Method Summary
static PartType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PartType[] 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

EQUAL

public static final PartType EQUAL
Equal parts are hypotheses


UNEQUAL

public static final PartType UNEQUAL
Unequal parts are hypotheses


BOTH

public static final PartType BOTH
Both equal and unequal parts are hypotheses

Method Detail

values

public static final PartType[] 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(PartType c : PartType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static PartType 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