package org.eclipse.collections.api.map.primitive;
import org.eclipse.collections.api.LongIterable;
import org.eclipse.collections.api.block.function.primitive.LongToByteFunction;
import org.eclipse.collections.api.block.function.primitive.ByteFunction;
import org.eclipse.collections.api.block.function.primitive.ByteFunction0;
import org.eclipse.collections.api.block.function.primitive.ByteToByteFunction;
import org.eclipse.collections.api.block.predicate.primitive.LongBytePredicate;
import org.eclipse.collections.api.tuple.primitive.LongBytePair;
public interface MutableLongByteMap extends LongByteMap, MutableByteValuesMap
{
void put(long key, byte value);
default void putPair(LongBytePair keyValuePair)
{
this.put(keyValuePair.getOne(), keyValuePair.getTwo());
}
void putAll(LongByteMap map);
void removeKey(long key);
void remove(long key);
byte removeKeyIfAbsent(long key, byte value);
byte getIfAbsentPut(long key, byte value);
byte getIfAbsentPut(long key, ByteFunction0 function);
byte getIfAbsentPutWithKey(long key, LongToByteFunction function);
<P> byte getIfAbsentPutWith(long key, ByteFunction<? super P> function, P parameter);
byte updateValue(long key, byte initialValueIfAbsent, ByteToByteFunction function);
@Override
MutableByteLongMap flipUniqueValues();
@Override
MutableLongByteMap select(LongBytePredicate predicate);
@Override
MutableLongByteMap reject(LongBytePredicate predicate);
MutableLongByteMap withKeyValue(long key, byte value);
MutableLongByteMap withoutKey(long key);
MutableLongByteMap withoutAllKeys(LongIterable keys);
MutableLongByteMap asUnmodifiable();
MutableLongByteMap asSynchronized();
byte addToValue(long key, byte toBeAdded);
}