package org.eclipse.collections.api.map.primitive;
import org.eclipse.collections.api.CharIterable;
import org.eclipse.collections.api.block.function.primitive.CharToBooleanFunction;
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.CharBooleanPredicate;
import org.eclipse.collections.api.tuple.primitive.CharBooleanPair;
public interface MutableCharBooleanMap extends CharBooleanMap, MutableBooleanValuesMap
{
void put(char key, boolean value);
default void putPair(CharBooleanPair keyValuePair)
{
this.put(keyValuePair.getOne(), keyValuePair.getTwo());
}
void putAll(CharBooleanMap map);
void removeKey(char key);
void remove(char key);
boolean removeKeyIfAbsent(char key, boolean value);
boolean getIfAbsentPut(char key, boolean value);
boolean getIfAbsentPut(char key, BooleanFunction0 function);
boolean getIfAbsentPutWithKey(char key, CharToBooleanFunction function);
<P> boolean getIfAbsentPutWith(char key, BooleanFunction<? super P> function, P parameter);
boolean updateValue(char key, boolean initialValueIfAbsent, BooleanToBooleanFunction function);
@Override
MutableCharBooleanMap select(CharBooleanPredicate predicate);
@Override
MutableCharBooleanMap reject(CharBooleanPredicate predicate);
MutableCharBooleanMap withKeyValue(char key, boolean value);
MutableCharBooleanMap withoutKey(char key);
MutableCharBooleanMap withoutAllKeys(CharIterable keys);
MutableCharBooleanMap asUnmodifiable();
MutableCharBooleanMap asSynchronized();
}