edu.stanford.nlp.util
Enum Interval.RelType
java.lang.Object
java.lang.Enum<Interval.RelType>
edu.stanford.nlp.util.Interval.RelType
- All Implemented Interfaces:
- Serializable, Comparable<Interval.RelType>
- Enclosing class:
- Interval<E extends Comparable<E>>
public static enum Interval.RelType
- extends Enum<Interval.RelType>
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
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(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
NullPointerException
- if the argument is null
Stanford NLP Group