All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.gs.collections.api.map.primitive.MutableLongCharMap Maven / Gradle / Ivy

/*
 * Copyright 2014 Goldman Sachs.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.gs.collections.api.map.primitive;

import com.gs.collections.api.LongIterable;
import com.gs.collections.api.block.function.primitive.LongToCharFunction;
import com.gs.collections.api.block.function.primitive.CharFunction;
import com.gs.collections.api.block.function.primitive.CharFunction0;
import com.gs.collections.api.block.function.primitive.CharToCharFunction;
import com.gs.collections.api.block.predicate.primitive.LongCharPredicate;

/**
 * This file was automatically generated from template file mutablePrimitivePrimitiveMap.stg.
 *
 * @since 3.0.
 */
public interface MutableLongCharMap extends LongCharMap, MutableCharValuesMap
{
    void put(long key, char value);

    void putAll(LongCharMap map);

    void removeKey(long key);

    void remove(long key);

    char removeKeyIfAbsent(long key, char value);

    char getIfAbsentPut(long key, char value);

    char getIfAbsentPut(long key, CharFunction0 function);

    char getIfAbsentPutWithKey(long key, LongToCharFunction function);

    

char getIfAbsentPutWith(long key, CharFunction function, P parameter); char updateValue(long key, char initialValueIfAbsent, CharToCharFunction function); MutableLongCharMap select(LongCharPredicate predicate); MutableLongCharMap reject(LongCharPredicate predicate); MutableLongCharMap withKeyValue(long key, char value); MutableLongCharMap withoutKey(long key); MutableLongCharMap withoutAllKeys(LongIterable keys); MutableLongCharMap asUnmodifiable(); MutableLongCharMap asSynchronized(); char addToValue(long key, char toBeAdded); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy