package org.eclipse.collections.api.map.primitive;
import org.eclipse.collections.api.ShortIterable;
import org.eclipse.collections.api.block.function.primitive.ShortToBooleanFunction;
import org.eclipse.collections.api.block.function.primitive.BooleanFunction;
import org.eclipse.collections.api.block.function.primitive.BooleanFunction0;
import org.eclipse.collections.api.block.function.primitive.BooleanToBooleanFunction;
import org.eclipse.collections.api.block.predicate.primitive.ShortBooleanPredicate;
import org.eclipse.collections.api.tuple.primitive.ShortBooleanPair;
public interface MutableShortBooleanMap extends ShortBooleanMap, MutableBooleanValuesMap
{
void put(short key, boolean value);
default void putPair(ShortBooleanPair keyValuePair)
{
this.put(keyValuePair.getOne(), keyValuePair.getTwo());
}
void putAll(ShortBooleanMap map);
void removeKey(short key);
void remove(short key);
boolean removeKeyIfAbsent(short key, boolean value);
boolean getIfAbsentPut(short key, boolean value);
boolean getIfAbsentPut(short key, BooleanFunction0 function);
boolean getIfAbsentPutWithKey(short key, ShortToBooleanFunction function);
<P> boolean getIfAbsentPutWith(short key, BooleanFunction<? super P> function, P parameter);
boolean updateValue(short key, boolean initialValueIfAbsent, BooleanToBooleanFunction function);
@Override
MutableShortBooleanMap select(ShortBooleanPredicate predicate);
@Override
MutableShortBooleanMap reject(ShortBooleanPredicate predicate);
MutableShortBooleanMap withKeyValue(short key, boolean value);
MutableShortBooleanMap withoutKey(short key);
MutableShortBooleanMap withoutAllKeys(ShortIterable keys);
MutableShortBooleanMap asUnmodifiable();
MutableShortBooleanMap asSynchronized();
}