public class CompleteValueHistory extends java.lang.Object implements ValueHistory
| Modifier and Type | Field and Description |
|---|---|
protected int |
historySize |
protected java.util.List<Value> |
values
Newer values are added at the end of the list.
|
| Constructor and Description |
|---|
CompleteValueHistory() |
CompleteValueHistory(int historySize) |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(Value value) |
int |
getHistorySize() |
java.util.List<Value> |
getValues() |
void |
setMaximumHistorySize(int historySize) |
protected java.util.List<Value> values
protected int historySize
public CompleteValueHistory()
public CompleteValueHistory(int historySize)
public int getHistorySize()
getHistorySize in interface ValueHistorypublic void setMaximumHistorySize(int historySize)
public java.util.List<Value> getValues()
getValues in interface ValueHistorypublic void addValue(Value value)
addValue in interface ValueHistory