public class TimestampedValue<T>
extends java.lang.Object
Constructor and Description |
---|
TimestampedValue(T value,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
long |
getTimestamp() |
T |
getValue() |
int |
hashCode() |
java.lang.String |
toString() |
public TimestampedValue(T value, long timestamp)
public T getValue()
public long getTimestamp()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object