public static class DataTracker.Entry<T> extends Object
Modifier and Type | Field and Description |
---|---|
private TrackedData<T> |
data |
private boolean |
dirty |
private T |
value |
Constructor and Description |
---|
Entry(TrackedData<T> data,
T value) |
Modifier and Type | Method and Description |
---|---|
DataTracker.Entry<T> |
copy() |
T |
get() |
TrackedData<T> |
getData() |
boolean |
isDirty() |
void |
set(T value) |
void |
setDirty(boolean dirty) |
private final TrackedData<T> data
private T value
private boolean dirty
public Entry(TrackedData<T> data, T value)
public TrackedData<T> getData()
public void set(T value)
public T get()
public boolean isDirty()
public void setDirty(boolean dirty)
public DataTracker.Entry<T> copy()