public interface MutableIntLongMap extends IntLongMap, MutableLongValuesMap
| Modifier and Type | Method and Description |
|---|---|
long |
addToValue(int key,
long toBeAdded) |
MutableIntLongMap |
asSynchronized() |
MutableIntLongMap |
asUnmodifiable() |
MutableLongIntMap |
flipUniqueValues()
Return the LongIntMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
long |
getIfAbsentPut(int key,
long value) |
long |
getIfAbsentPut(int key,
LongFunction0 function) |
<P> long |
getIfAbsentPutWith(int key,
LongFunction<? super P> function,
P parameter) |
long |
getIfAbsentPutWithKey(int key,
IntToLongFunction function) |
void |
put(int key,
long value) |
void |
putAll(IntLongMap map) |
MutableIntLongMap |
reject(IntLongPredicate predicate) |
void |
remove(int key) |
void |
removeKey(int key) |
long |
removeKeyIfAbsent(int key,
long value) |
MutableIntLongMap |
select(IntLongPredicate predicate) |
long |
updateValue(int key,
long initialValueIfAbsent,
LongToLongFunction function) |
MutableIntLongMap |
withKeyValue(int key,
long value) |
MutableIntLongMap |
withoutAllKeys(IntIterable keys) |
MutableIntLongMap |
withoutKey(int key) |
containsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toStringclear, collect, longIterator, 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(int key,
long value)
void putAll(IntLongMap map)
void removeKey(int key)
void remove(int key)
long removeKeyIfAbsent(int key,
long value)
long getIfAbsentPut(int key,
long value)
long getIfAbsentPut(int key,
LongFunction0 function)
long getIfAbsentPutWithKey(int key,
IntToLongFunction function)
<P> long getIfAbsentPutWith(int key,
LongFunction<? super P> function,
P parameter)
long updateValue(int key,
long initialValueIfAbsent,
LongToLongFunction function)
MutableLongIntMap flipUniqueValues()
IntLongMapflipUniqueValues in interface IntLongMapMutableIntLongMap select(IntLongPredicate predicate)
select in interface IntLongMapMutableIntLongMap reject(IntLongPredicate predicate)
reject in interface IntLongMapMutableIntLongMap withKeyValue(int key, long value)
MutableIntLongMap withoutKey(int key)
MutableIntLongMap withoutAllKeys(IntIterable keys)
MutableIntLongMap asUnmodifiable()
MutableIntLongMap asSynchronized()
long addToValue(int key,
long toBeAdded)
Copyright © 2004–2017. All rights reserved.