public final class Timestamped<T> extends Object
Constructor and Description |
---|
Timestamped(long timestampMillis,
T value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
long |
getTimestampMillis()
Returns the timestamp, expressed in milliseconds.
|
T |
getValue()
Returns the value embedded in the
Timestamped object. |
int |
hashCode() |
String |
toString() |
public Timestamped(long timestampMillis, T value)
public long getTimestampMillis()
public T getValue()
Timestamped
object.Copyright © 2016. All rights reserved.