FloatIntMap, IntIterable, IntValuesMap, MutableIntValuesMap, PrimitiveIterableFloatIntHashMap, SynchronizedFloatIntMap, UnmodifiableFloatIntMappublic interface MutableFloatIntMap extends FloatIntMap, MutableIntValuesMap
| Modifier and Type | Method | Description |
|---|---|---|
int |
addToValue(float key,
int toBeAdded) |
|
MutableFloatIntMap |
asSynchronized() |
|
MutableFloatIntMap |
asUnmodifiable() |
|
MutableIntFloatMap |
flipUniqueValues() |
Return the IntFloatMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
int |
getIfAbsentPut(float key,
int value) |
|
int |
getIfAbsentPut(float key,
IntFunction0 function) |
|
<P> int |
getIfAbsentPutWith(float key,
IntFunction<? super P> function,
P parameter) |
|
int |
getIfAbsentPutWithKey(float key,
FloatToIntFunction function) |
|
void |
put(float key,
int value) |
|
void |
putAll(FloatIntMap map) |
|
default void |
putPair(FloatIntPair keyValuePair) |
This method allows MutableFloatIntMap the ability to add an element in the form of FloatIntPair.
|
MutableFloatIntMap |
reject(FloatIntPredicate predicate) |
|
void |
remove(float key) |
|
void |
removeKey(float key) |
|
int |
removeKeyIfAbsent(float key,
int value) |
|
MutableFloatIntMap |
select(FloatIntPredicate predicate) |
|
int |
updateValue(float key,
int initialValueIfAbsent,
IntToIntFunction function) |
|
MutableFloatIntMap |
withKeyValue(float key,
int value) |
|
MutableFloatIntMap |
withoutAllKeys(FloatIterable keys) |
|
MutableFloatIntMap |
withoutKey(float key) |
containsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toStringallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, chunk, 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, toSortedListcontainsValue, forEachValue, tap, valuesclear, collect, intIterator, reject, selectappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizevoid put(float key,
int value)
default void putPair(FloatIntPair keyValuePair)
put(float, int)void putAll(FloatIntMap map)
void removeKey(float key)
void remove(float key)
int removeKeyIfAbsent(float key,
int value)
int getIfAbsentPut(float key,
int value)
int getIfAbsentPut(float key,
IntFunction0 function)
int getIfAbsentPutWithKey(float key,
FloatToIntFunction function)
<P> int getIfAbsentPutWith(float key,
IntFunction<? super P> function,
P parameter)
int updateValue(float key,
int initialValueIfAbsent,
IntToIntFunction function)
MutableIntFloatMap flipUniqueValues()
FloatIntMapflipUniqueValues in interface FloatIntMapMutableFloatIntMap select(FloatIntPredicate predicate)
select in interface FloatIntMapMutableFloatIntMap reject(FloatIntPredicate predicate)
reject in interface FloatIntMapMutableFloatIntMap withKeyValue(float key, int value)
MutableFloatIntMap withoutKey(float key)
MutableFloatIntMap withoutAllKeys(FloatIterable keys)
MutableFloatIntMap asUnmodifiable()
MutableFloatIntMap asSynchronized()
int addToValue(float key,
int toBeAdded)
Copyright © 2004–2018. All rights reserved.