public interface MutableLongIntMap extends LongIntMap, MutableIntValuesMap
| Modifier and Type | Method and Description |
|---|---|
int |
addToValue(long key,
int toBeAdded) |
MutableLongIntMap |
asSynchronized() |
MutableLongIntMap |
asUnmodifiable() |
MutableIntLongMap |
flipUniqueValues()
Return the IntLongMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
int |
getIfAbsentPut(long key,
int value) |
int |
getIfAbsentPut(long key,
IntFunction0 function) |
<P> int |
getIfAbsentPutWith(long key,
IntFunction<? super P> function,
P parameter) |
int |
getIfAbsentPutWithKey(long key,
LongToIntFunction function) |
void |
put(long key,
int value) |
void |
putAll(LongIntMap map) |
MutableLongIntMap |
reject(LongIntPredicate predicate) |
void |
remove(long key) |
void |
removeKey(long key) |
int |
removeKeyIfAbsent(long key,
int value) |
MutableLongIntMap |
select(LongIntPredicate predicate) |
int |
updateValue(long key,
int initialValueIfAbsent,
IntToIntFunction function) |
MutableLongIntMap |
withKeyValue(long key,
int value) |
MutableLongIntMap |
withoutAllKeys(LongIterable keys) |
MutableLongIntMap |
withoutKey(long key) |
containsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toStringclear, collect, intIterator, reject, selectcontainsValue, forEachValue, tap, valuesallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, medianIfEmpty, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizevoid put(long key,
int value)
void putAll(LongIntMap map)
void removeKey(long key)
void remove(long key)
int removeKeyIfAbsent(long key,
int value)
int getIfAbsentPut(long key,
int value)
int getIfAbsentPut(long key,
IntFunction0 function)
int getIfAbsentPutWithKey(long key,
LongToIntFunction function)
<P> int getIfAbsentPutWith(long key,
IntFunction<? super P> function,
P parameter)
int updateValue(long key,
int initialValueIfAbsent,
IntToIntFunction function)
MutableIntLongMap flipUniqueValues()
LongIntMapflipUniqueValues in interface LongIntMapMutableLongIntMap select(LongIntPredicate predicate)
select in interface LongIntMapMutableLongIntMap reject(LongIntPredicate predicate)
reject in interface LongIntMapMutableLongIntMap withKeyValue(long key, int value)
MutableLongIntMap withoutKey(long key)
MutableLongIntMap withoutAllKeys(LongIterable keys)
MutableLongIntMap asUnmodifiable()
MutableLongIntMap asSynchronized()
int addToValue(long key,
int toBeAdded)
Copyright © 2004–2017. All rights reserved.