package org.eclipse.collections.api.map.primitive;
import org.eclipse.collections.api.DoubleIterable;
import org.eclipse.collections.api.block.function.primitive.DoubleToShortFunction;
import org.eclipse.collections.api.block.function.primitive.ShortFunction;
import org.eclipse.collections.api.block.function.primitive.ShortFunction0;
import org.eclipse.collections.api.block.function.primitive.ShortToShortFunction;
import org.eclipse.collections.api.block.predicate.primitive.DoubleShortPredicate;
import org.eclipse.collections.api.tuple.primitive.DoubleShortPair;
public interface MutableDoubleShortMap extends DoubleShortMap, MutableShortValuesMap
{
void put(double key, short value);
default void putPair(DoubleShortPair keyValuePair)
{
this.put(keyValuePair.getOne(), keyValuePair.getTwo());
}
void putAll(DoubleShortMap map);
void removeKey(double key);
void remove(double key);
short removeKeyIfAbsent(double key, short value);
short getIfAbsentPut(double key, short value);
short getIfAbsentPut(double key, ShortFunction0 function);
short getIfAbsentPutWithKey(double key, DoubleToShortFunction function);
<P> short getIfAbsentPutWith(double key, ShortFunction<? super P> function, P parameter);
short updateValue(double key, short initialValueIfAbsent, ShortToShortFunction function);
@Override
MutableShortDoubleMap flipUniqueValues();
@Override
MutableDoubleShortMap select(DoubleShortPredicate predicate);
@Override
MutableDoubleShortMap reject(DoubleShortPredicate predicate);
MutableDoubleShortMap withKeyValue(double key, short value);
MutableDoubleShortMap withoutKey(double key);
MutableDoubleShortMap withoutAllKeys(DoubleIterable keys);
MutableDoubleShortMap asUnmodifiable();
MutableDoubleShortMap asSynchronized();
short addToValue(double key, short toBeAdded);
}