public class UpdatedReference<T>
extends java.lang.Object
Constructor and Description |
---|
UpdatedReference(T t) |
UpdatedReference(T t,
long time) |
Modifier and Type | Method and Description |
---|---|
T |
getT() |
long |
getTime() |
boolean |
isTimeToUpdate(long interval) |
void |
updateT(T t) |
void |
updateTs() |