|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LogicalTime
LogicalTime declares an interface to an immutable time value
| Method Summary | |
|---|---|
LogicalTime |
add(LogicalTimeInterval val)
Returns a LogicalTime whose value is (this + val). |
int |
compareTo(java.lang.Object other)
|
LogicalTimeInterval |
distance(LogicalTime val)
Returns a LogicalTimeInterval whose value is the time interval between this and val. |
void |
encode(byte[] buffer,
int offset)
|
int |
encodedLength()
|
boolean |
equals(java.lang.Object other)
Returns true iff this and other represent the same logical time Supports standard Java mechanisms. |
int |
hashCode()
Two LogicalTimes for which equals() is true should yield same hash code |
boolean |
isFinal()
|
boolean |
isInitial()
|
LogicalTime |
subtract(LogicalTimeInterval val)
Returns a LogicalTime whose value is (this - val). |
java.lang.String |
toString()
|
| Method Detail |
|---|
boolean isInitial()
boolean isFinal()
LogicalTime add(LogicalTimeInterval val)
throws IllegalTimeArithmetic
IllegalTimeArithmetic
LogicalTime subtract(LogicalTimeInterval val)
throws IllegalTimeArithmetic
IllegalTimeArithmeticLogicalTimeInterval distance(LogicalTime val)
int compareTo(java.lang.Object other)
compareTo in interface java.lang.Comparableboolean equals(java.lang.Object other)
equals in class java.lang.Objectint hashCode()
hashCode in class java.lang.Objectjava.lang.String toString()
toString in class java.lang.Objectint encodedLength()
void encode(byte[] buffer,
int offset)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||