|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CosTime.TimeComparison
public final class TimeComparison
TimeComparaison defines the possilbe values that can be returned as a result of comparaing two UTOs. The values are self explanatory. In an IntervalC comparaison, TCIndeterminate value is returned if the error envelopes around the two times being compared overlap. For this purpose the error envelope is assumed to be symmetricallly placed around the base time covering time-inaccuracy to time+inaccuracy. For IntervalC comparaison, two UTOs are deemedto contain the same time only if the Time attribute of the two objects are equal and the Inaccuracy attributes of both the objects are zero.
Field Summary | |
---|---|
static int |
_TCEqualTo
Enum member TCEqualTo value |
static int |
_TCGreaterThan
Enum member TCGreaterThan value |
static int |
_TCIndeterminate
Enum member TCIndeterminate value |
static int |
_TCLessThan
Enum member TCLessThan value |
static TimeComparison |
TCEqualTo
Enum member TCEqualTo |
static TimeComparison |
TCGreaterThan
Enum member TCGreaterThan |
static TimeComparison |
TCIndeterminate
Enum member TCIndeterminate |
static TimeComparison |
TCLessThan
Enum member TCLessThan |
Method Summary | |
---|---|
static TimeComparison |
from_int(int value)
Return a enum member from its value. |
java.lang.Object |
readResolve()
Maintains singleton property for serialized enums. |
java.lang.String |
toString()
Return a string representation |
int |
value()
Return the internal member value |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _TCEqualTo
public static final TimeComparison TCEqualTo
public static final int _TCLessThan
public static final TimeComparison TCLessThan
public static final int _TCGreaterThan
public static final TimeComparison TCGreaterThan
public static final int _TCIndeterminate
public static final TimeComparison TCIndeterminate
Method Detail |
---|
public java.lang.Object readResolve() throws java.io.ObjectStreamException
java.io.ObjectStreamException
public int value()
public static TimeComparison from_int(int value)
value
- An enum value
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |