public static enum Interval.RelType extends java.lang.Enum<Interval.RelType>
Enum Constant and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
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 namejava.lang.NullPointerException
- if the argument is null