FloatIntMap
, IntIterable
, IntValuesMap
, MutableIntValuesMap
, PrimitiveIterable
FloatIntHashMap
, SynchronizedFloatIntMap
, UnmodifiableFloatIntMap
public 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, toString
allSatisfy, 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, toSortedList
containsValue, forEachValue, tap, values
clear, collect, intIterator, reject, select
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
void 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()
FloatIntMap
flipUniqueValues
in interface FloatIntMap
MutableFloatIntMap select(FloatIntPredicate predicate)
select
in interface FloatIntMap
MutableFloatIntMap reject(FloatIntPredicate predicate)
reject
in interface FloatIntMap
MutableFloatIntMap 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.