package org.eclipse.collections.api.map.primitive;
import org.eclipse.collections.api.IntIterable;
import org.eclipse.collections.api.block.function.primitive.IntToShortFunction;
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.IntShortPredicate;
import org.eclipse.collections.api.tuple.primitive.IntShortPair;
public interface MutableIntShortMap extends IntShortMap, MutableShortValuesMap
{
void put(int key, short value);
default void putPair(IntShortPair keyValuePair)
{
this.put(keyValuePair.getOne(), keyValuePair.getTwo());
}
void putAll(IntShortMap map);
void removeKey(int key);
void remove(int key);
short removeKeyIfAbsent(int key, short value);
short getIfAbsentPut(int key, short value);
short getIfAbsentPut(int key, ShortFunction0 function);
short getIfAbsentPutWithKey(int key, IntToShortFunction function);
<P> short getIfAbsentPutWith(int key, ShortFunction<? super P> function, P parameter);
short updateValue(int key, short initialValueIfAbsent, ShortToShortFunction function);
@Override
MutableShortIntMap flipUniqueValues();
@Override
MutableIntShortMap select(IntShortPredicate predicate);
@Override
MutableIntShortMap reject(IntShortPredicate predicate);
MutableIntShortMap withKeyValue(int key, short value);
MutableIntShortMap withoutKey(int key);
MutableIntShortMap withoutAllKeys(IntIterable keys);
MutableIntShortMap asUnmodifiable();
MutableIntShortMap asSynchronized();
short addToValue(int key, short toBeAdded);
}