edu.stanford.nlp.util
Enum Interval.RelType

java.lang.Object
  extended by java.lang.Enum<Interval.RelType>
      extended by edu.stanford.nlp.util.Interval.RelType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Interval.RelType>
Enclosing class:
Interval<E extends java.lang.Comparable<E>>

public static enum Interval.RelType
extends java.lang.Enum<Interval.RelType>


Enum Constant Summary
AFTER
           
BEFORE
           
BEGIN_MEET_END
           
CONTAIN
           
END_MEET_BEGIN
           
EQUAL
           
INSIDE
           
NONE
           
OVERLAP
           
UNKNOWN
           
 
Method Summary
static Interval.RelType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Interval.RelType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BEFORE

public static final Interval.RelType BEFORE

AFTER

public static final Interval.RelType AFTER

EQUAL

public static final Interval.RelType EQUAL

BEGIN_MEET_END

public static final Interval.RelType BEGIN_MEET_END

END_MEET_BEGIN

public static final Interval.RelType END_MEET_BEGIN

CONTAIN

public static final Interval.RelType CONTAIN

INSIDE

public static final Interval.RelType INSIDE

OVERLAP

public static final Interval.RelType OVERLAP

UNKNOWN

public static final Interval.RelType UNKNOWN

NONE

public static final Interval.RelType NONE
Method Detail

values

public static Interval.RelType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Interval.RelType c : Interval.RelType.values())
    System.out.println(c);

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

valueOf

public static Interval.RelType valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Stanford NLP Group