public class VectorTimestamp<T extends Identifier> extends LogicalTimestamp
| Constructor and Description |
|---|
VectorTimestamp(T identifier,
long value) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Timestamp o) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
T |
identifier()
Returns the timestamp identifier.
|
java.lang.String |
toString() |
asVersion, of, valueisNewerThan, isOlderThanpublic VectorTimestamp(T identifier, long value)
public T identifier()
public int compareTo(Timestamp o)
compareTo in interface java.lang.Comparable<Timestamp>compareTo in class LogicalTimestamppublic int hashCode()
hashCode in interface TimestamphashCode in class LogicalTimestamppublic boolean equals(java.lang.Object obj)
equals in interface Timestampequals in class LogicalTimestamppublic java.lang.String toString()
toString in class LogicalTimestampCopyright © 2013-2018. All Rights Reserved.