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