public enum TlinkType extends java.lang.Enum<TlinkType>
Enum Constant and Description |
---|
AFTER |
BEFORE |
BEGINS_ON |
CONTAINED_BY |
CONTAINS |
ENDS_ON |
OVERLAP |
Modifier and Type | Field and Description |
---|---|
private int |
_index |
private static int[][] |
TML_ABC_ARRAY |
Modifier and Type | Method and Description |
---|---|
static TlinkType |
getCombinedTypeConservative(TlinkType typeA,
TlinkType typeB) |
static TlinkType |
getCombinedTypeLiberal(TlinkType typeA,
TlinkType typeB) |
private int |
getIndex() |
TlinkType |
getReciprocal() |
private static TlinkType |
getTimeRelationType(int index) |
static TlinkType |
getTimeRelationType(long startA,
long startB,
long endA,
long endB) |
static TlinkType |
getTimeRelationType(java.lang.String name) |
TlinkType |
getTimeRelationTypeAtoC(TlinkType tlinkTypeBtoC) |
static TlinkType |
getTlinkType(BinaryTextRelation tlink) |
static TlinkType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TlinkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TlinkType BEFORE
public static final TlinkType AFTER
public static final TlinkType OVERLAP
public static final TlinkType CONTAINS
public static final TlinkType CONTAINED_BY
public static final TlinkType BEGINS_ON
public static final TlinkType ENDS_ON
private static final int[][] TML_ABC_ARRAY
private final int _index
public static TlinkType[] values()
for (TlinkType c : TlinkType.values()) System.out.println(c);
public static TlinkType 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 nullpublic static TlinkType getTlinkType(BinaryTextRelation tlink)
public static TlinkType getTimeRelationType(java.lang.String name)
public static TlinkType getTimeRelationType(long startA, long startB, long endA, long endB)
public static TlinkType getCombinedTypeConservative(TlinkType typeA, TlinkType typeB)
public static TlinkType getCombinedTypeLiberal(TlinkType typeA, TlinkType typeB)
private static TlinkType getTimeRelationType(int index)
private int getIndex()
public TlinkType getTimeRelationTypeAtoC(TlinkType tlinkTypeBtoC)
tlinkTypeBtoC
- a relation with a start argument coincidental with this relationpublic TlinkType getReciprocal()