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.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object