|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LogicalTime
| Method Summary | |
|---|---|
LogicalTime |
add(LogicalTimeInterval val)
Returns a LogicalTime whose value is (this + val). |
int |
compareTo(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(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). |
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(Object other)
compareTo in interface Comparableboolean equals(Object other)
equals in class Objectint hashCode()
hashCode in class ObjectString toString()
toString in class Objectint encodedLength()
void encode(byte[] buffer,
int offset)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||