package org.eclipse.collections.api.map.primitive;
import org.eclipse.collections.api.ShortIterable;
import org.eclipse.collections.api.block.function.primitive.ShortToCharFunction;
import org.eclipse.collections.api.block.function.primitive.CharFunction;
import org.eclipse.collections.api.block.function.primitive.CharFunction0;
import org.eclipse.collections.api.block.function.primitive.CharToCharFunction;
import org.eclipse.collections.api.block.predicate.primitive.ShortCharPredicate;
import org.eclipse.collections.api.tuple.primitive.ShortCharPair;
public interface MutableShortCharMap extends ShortCharMap, MutableCharValuesMap
{
void put(short key, char value);
default void putPair(ShortCharPair keyValuePair)
{
this.put(keyValuePair.getOne(), keyValuePair.getTwo());
}
void putAll(ShortCharMap map);
void removeKey(short key);
void remove(short key);
char removeKeyIfAbsent(short key, char value);
char getIfAbsentPut(short key, char value);
char getIfAbsentPut(short key, CharFunction0 function);
char getIfAbsentPutWithKey(short key, ShortToCharFunction function);
<P> char getIfAbsentPutWith(short key, CharFunction<? super P> function, P parameter);
char updateValue(short key, char initialValueIfAbsent, CharToCharFunction function);
@Override
MutableCharShortMap flipUniqueValues();
@Override
MutableShortCharMap select(ShortCharPredicate predicate);
@Override
MutableShortCharMap reject(ShortCharPredicate predicate);
MutableShortCharMap withKeyValue(short key, char value);
MutableShortCharMap withoutKey(short key);
MutableShortCharMap withoutAllKeys(ShortIterable keys);
MutableShortCharMap asUnmodifiable();
MutableShortCharMap asSynchronized();
char addToValue(short key, char toBeAdded);
}