package org.eclipse.collections.api.map.primitive;
import org.eclipse.collections.api.FloatIterable;
import org.eclipse.collections.api.block.function.Function;
import org.eclipse.collections.api.block.function.Function0;
import org.eclipse.collections.api.block.function.Function2;
import org.eclipse.collections.api.block.function.primitive.FloatToObjectFunction;
import org.eclipse.collections.api.block.predicate.primitive.FloatObjectPredicate;
import org.eclipse.collections.api.block.procedure.Procedure;
import org.eclipse.collections.api.tuple.primitive.FloatObjectPair;
public interface MutableFloatObjectMap<V> extends FloatObjectMap<V>, MutablePrimitiveObjectMap<V>
{
V put(float key, V value);
default V putPair(FloatObjectPair<V> keyValuePair)
{
return this.put(keyValuePair.getOne(), keyValuePair.getTwo());
}
void putAll(FloatObjectMap<? extends V> map);
V removeKey(float key);
V remove(float key);
V getIfAbsentPut(float key, V value);
V getIfAbsentPut(float key, Function0<? extends V> function);
V getIfAbsentPutWithKey(float key, FloatToObjectFunction<? extends V> function);
<P> V getIfAbsentPutWith(float key, Function<? super P, ? extends V> function, P parameter);
V updateValue(float key, Function0<? extends V> factory, Function<? super V, ? extends V> function);
<P> V updateValueWith(float key, Function0<? extends V> factory, Function2<? super V, ? super P, ? extends V> function, P parameter);
@Override
MutableObjectFloatMap<V> flipUniqueValues();
@Override
MutableFloatObjectMap<V> tap(Procedure<? super V> procedure);
@Override
MutableFloatObjectMap<V> select(FloatObjectPredicate<? super V> predicate);
@Override
MutableFloatObjectMap<V> reject(FloatObjectPredicate<? super V> predicate);
MutableFloatObjectMap<V> withKeyValue(float key, V value);
MutableFloatObjectMap<V> withoutKey(float key);
MutableFloatObjectMap<V> withoutAllKeys(FloatIterable keys);
MutableFloatObjectMap<V> asUnmodifiable();
MutableFloatObjectMap<V> asSynchronized();
}