public class ValueTsPair<V> extends Object
| Constructor and Description |
|---|
ValueTsPair(V value,
Timestamp ts)
Creates a pair value and timestamp.
|
| Modifier and Type | Method and Description |
|---|---|
ValueTsPair<V> |
copy() |
boolean |
equals(Object other) |
Timestamp |
getTs()
Gets the timestamp associated with the value.
|
V |
getValue()
Gets the value of the pair.
|
int |
hashCode() |
void |
setTs(Timestamp ts)
Sets the timestamp of the pair
|
void |
setValue(V value)
Sets the value of the pair
|
public V getValue()
public Timestamp getTs()
public void setValue(V value)
value - value of the pairpublic void setTs(Timestamp ts)
ts - the timestamp of the pairpublic ValueTsPair<V> copy()
Copyright © 2024. All rights reserved.