T - the value type held along with the timestamppublic final class Timestamped<T>
extends java.lang.Object
| Constructor and Description |
|---|
Timestamped(long timestampMillis,
T value) |
public Timestamped(long timestampMillis,
T value)
public long getTimestampMillis()
public T getValue()
Timestamped object.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object