public class ChangeTrackingValueContainer<Value> extends UpdatableValueContainer<Value>
Modifier and Type | Class and Description |
---|---|
static interface |
ChangeTrackingValueContainer.Initializer<T> |
ValueContainer.ContainerAction<T>, ValueContainer.IntIterator, ValueContainer.IntPredicate, ValueContainer.ValueIterator<Value>
Constructor and Description |
---|
ChangeTrackingValueContainer(ChangeTrackingValueContainer.Initializer<Value> initializer) |
Modifier and Type | Method and Description |
---|---|
void |
addValue(int inputId,
Value value) |
void |
dropAssociatedValue(int inputId) |
void |
dropMergedData() |
ValueContainer.ValueIterator<Value> |
getValueIterator() |
boolean |
isDirty() |
void |
removeAssociatedValue(int inputId) |
void |
saveTo(java.io.DataOutput out,
DataExternalizer<? super Value> externalizer) |
int |
size() |
forEach
public ChangeTrackingValueContainer(ChangeTrackingValueContainer.Initializer<Value> initializer)
public void addValue(int inputId, Value value)
addValue
in class UpdatableValueContainer<Value>
public void removeAssociatedValue(int inputId)
removeAssociatedValue
in class UpdatableValueContainer<Value>
public void dropAssociatedValue(int inputId)
public int size()
size
in class ValueContainer<Value>
public ValueContainer.ValueIterator<Value> getValueIterator()
getValueIterator
in class ValueContainer<Value>
public void dropMergedData()
public boolean isDirty()
public void saveTo(java.io.DataOutput out, DataExternalizer<? super Value> externalizer) throws java.io.IOException
saveTo
in class UpdatableValueContainer<Value>
java.io.IOException