package org.eclipse.collections.api.map.primitive;
import org.eclipse.collections.api.IntIterable;
import org.eclipse.collections.api.block.function.primitive.IntToFloatFunction;
import org.eclipse.collections.api.block.function.primitive.FloatFunction;
import org.eclipse.collections.api.block.function.primitive.FloatFunction0;
import org.eclipse.collections.api.block.function.primitive.FloatToFloatFunction;
import org.eclipse.collections.api.block.predicate.primitive.IntFloatPredicate;
import org.eclipse.collections.api.tuple.primitive.IntFloatPair;
public interface MutableIntFloatMap extends IntFloatMap, MutableFloatValuesMap
{
void put(int key, float value);
default void putPair(IntFloatPair keyValuePair)
{
this.put(keyValuePair.getOne(), keyValuePair.getTwo());
}
void putAll(IntFloatMap map);
void removeKey(int key);
void remove(int key);
float removeKeyIfAbsent(int key, float value);
float getIfAbsentPut(int key, float value);
float getIfAbsentPut(int key, FloatFunction0 function);
float getIfAbsentPutWithKey(int key, IntToFloatFunction function);
<P> float getIfAbsentPutWith(int key, FloatFunction<? super P> function, P parameter);
float updateValue(int key, float initialValueIfAbsent, FloatToFloatFunction function);
@Override
MutableFloatIntMap flipUniqueValues();
@Override
MutableIntFloatMap select(IntFloatPredicate predicate);
@Override
MutableIntFloatMap reject(IntFloatPredicate predicate);
MutableIntFloatMap withKeyValue(int key, float value);
MutableIntFloatMap withoutKey(int key);
MutableIntFloatMap withoutAllKeys(IntIterable keys);
MutableIntFloatMap asUnmodifiable();
MutableIntFloatMap asSynchronized();
float addToValue(int key, float toBeAdded);
}