|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<Interval.RelType>
edu.stanford.nlp.util.Interval.RelType
public static enum Interval.RelType
RelType gives the basic types of relations between two intervals
| Enum Constant Summary | |
|---|---|
AFTER
this interval starts after the other ends |
|
BEFORE
this interval ends before the other starts |
|
BEGIN_MEET_END
this interval's begin is the same as the other's end |
|
CONTAIN
this interval contains the other |
|
END_MEET_BEGIN
this interval's end is the same as the other's begin |
|
EQUAL
this interval and the other have the same endpoints |
|
INSIDE
this interval is inside the other |
|
NONE
There is no relationship between the two interval. |
|
OVERLAP
this interval and the other overlaps |
|
UNKNOWN
The relations between the two intervals are 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 |
|---|
public static final Interval.RelType BEFORE
public static final Interval.RelType AFTER
public static final Interval.RelType EQUAL
public static final Interval.RelType BEGIN_MEET_END
public static final Interval.RelType END_MEET_BEGIN
public static final Interval.RelType CONTAIN
public static final Interval.RelType INSIDE
public static final Interval.RelType OVERLAP
public static final Interval.RelType UNKNOWN
public static final Interval.RelType NONE
| Method Detail |
|---|
public static Interval.RelType[] values()
for (Interval.RelType c : Interval.RelType.values()) System.out.println(c);
public static Interval.RelType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||