public class ValueContainerImpl<Value> extends UpdatableValueContainer<Value> implements java.lang.Cloneable
ValueContainer.ContainerAction<T>, ValueContainer.IntIterator, ValueContainer.IntPredicate, ValueContainer.ValueIterator<Value>| Constructor and Description |
|---|
ValueContainerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(int inputId,
Value value) |
ValueContainerImpl<Value> |
clone() |
InvertedIndexValueIterator<Value> |
getValueIterator() |
void |
readFrom(java.io.DataInputStream stream,
DataExternalizer<? extends Value> externalizer,
ValueContainerInputRemapping remapping) |
void |
removeAssociatedValue(int inputId) |
void |
saveTo(java.io.DataOutput out,
DataExternalizer<? super Value> externalizer) |
int |
size() |
forEachpublic void addValue(int inputId,
Value value)
addValue in class UpdatableValueContainer<Value>public int size()
size in class ValueContainer<Value>public void removeAssociatedValue(int inputId)
removeAssociatedValue in class UpdatableValueContainer<Value>public InvertedIndexValueIterator<Value> getValueIterator()
getValueIterator in class ValueContainer<Value>public ValueContainerImpl<Value> clone()
clone in class java.lang.Objectpublic void saveTo(java.io.DataOutput out,
DataExternalizer<? super Value> externalizer)
throws java.io.IOException
saveTo in class UpdatableValueContainer<Value>java.io.IOExceptionpublic void readFrom(java.io.DataInputStream stream,
DataExternalizer<? extends Value> externalizer,
ValueContainerInputRemapping remapping)
throws java.io.IOException
java.io.IOException