public class SimpleInterval extends Domain
SimpleAllenInterval.defaultValueChoiceFunction, logger, myVariable, valueChoiceFunctions| Constructor and Description |
|---|
SimpleInterval(SimpleAllenInterval sai)
Builds a zero-length time interval (start = stop = 0).
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(java.lang.Object arg0)
Comapres this to another Interval
|
boolean |
equals(java.lang.Object obj)
Compares two time intervals, returning true iff their start and end times coincide.
|
java.lang.String |
getIntervalName() |
int |
hashCode() |
java.lang.String |
toString()
Returns A String representation of the
SimpleInterval. |
chooseValue, chooseValue, getValueChoiceFunctions, getVariable, registerValueChoiceFunction, removeValueChoiceFunctions, setDefaultValueChoiceFunctionpublic SimpleInterval(SimpleAllenInterval sai)
public java.lang.String getIntervalName()
public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectSimpleInterval.public java.lang.String toString()
SimpleInterval.toString in class DomainSimpleInterval.public int compareTo(java.lang.Object arg0)
1 if this Interval's lower bound is lower than the argument's, 0 if they are the same, 1 otherwisepublic int hashCode()
hashCode in class java.lang.Object