|
pRTI v1.3 | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
Representation of Logical Time Interval.
| Method Summary | |
void |
encode(byte[] buffer,
int offset)
Encodes the logical time interval to a transportable format. |
int |
encodedLength()
Returns the length of the encoded logical time interval. |
boolean |
isEpsilon()
Check is time interval is epsilon |
boolean |
isEqualTo(LogicalTimeInterval value)
Checks if times interval are equal in length. |
boolean |
isGreaterThan(LogicalTimeInterval value)
Compares if the interval is longer than another interval. |
boolean |
isGreaterThanOrEqualTo(LogicalTimeInterval value)
Compares if the interval is longer or equal to to another interval. |
boolean |
isLessThan(LogicalTimeInterval value)
Compares if the interval is shorter than another interval. |
boolean |
isLessThanOrEqualTo(LogicalTimeInterval value)
Compares if the interval is shorter or equal to to another interval. |
boolean |
isZero()
Check is the interval is zero. |
void |
setEpsilon()
Sets the interval to epsilon. |
void |
setTo(LogicalTimeInterval value)
Sets the interval to the specified length. |
void |
setZero()
Sets the interval to zero. |
| Method Detail |
public void encode(byte[] buffer,
int offset)
buffer - The serialized logical time intervaloffset - Start position in the destination datapublic int encodedLength()
public boolean isEpsilon()
public boolean isEqualTo(LogicalTimeInterval value)
value - Interval to compare with.public boolean isGreaterThan(LogicalTimeInterval value)
value - The logical time interval to compare with.public boolean isGreaterThanOrEqualTo(LogicalTimeInterval value)
value - The logical time interval to compare with.public boolean isLessThan(LogicalTimeInterval value)
value - The logical time interval to compare with.public boolean isLessThanOrEqualTo(LogicalTimeInterval value)
value - The logical time interval to compare with.public boolean isZero()
value - Logical time intervalpublic void setEpsilon()
public void setTo(LogicalTimeInterval value)
value - Logical Time Intervalpublic void setZero()
|
pRTI v1.3 | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||