FloatFloatMap
, FloatIterable
, FloatValuesMap
, MutableFloatValuesMap
, PrimitiveIterable
FloatFloatHashMap
, SynchronizedFloatFloatMap
, UnmodifiableFloatFloatMap
public interface MutableFloatFloatMap extends FloatFloatMap, MutableFloatValuesMap
Modifier and Type | Method | Description |
---|---|---|
float |
addToValue(float key,
float toBeAdded) |
|
MutableFloatFloatMap |
asSynchronized() |
|
MutableFloatFloatMap |
asUnmodifiable() |
|
MutableFloatFloatMap |
flipUniqueValues() |
Return the FloatFloatMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
float |
getIfAbsentPut(float key,
float value) |
|
float |
getIfAbsentPut(float key,
FloatFunction0 function) |
|
<P> float |
getIfAbsentPutWith(float key,
FloatFunction<? super P> function,
P parameter) |
|
float |
getIfAbsentPutWithKey(float key,
FloatToFloatFunction function) |
|
void |
put(float key,
float value) |
|
void |
putAll(FloatFloatMap map) |
|
default void |
putPair(FloatFloatPair keyValuePair) |
This method allows MutableFloatFloatMap the ability to add an element in the form of FloatFloatPair.
|
MutableFloatFloatMap |
reject(FloatFloatPredicate predicate) |
|
void |
remove(float key) |
|
void |
removeKey(float key) |
|
float |
removeKeyIfAbsent(float key,
float value) |
|
MutableFloatFloatMap |
select(FloatFloatPredicate predicate) |
|
float |
updateValue(float key,
float initialValueIfAbsent,
FloatToFloatFunction function) |
|
MutableFloatFloatMap |
withKeyValue(float key,
float value) |
|
MutableFloatFloatMap |
withoutAllKeys(FloatIterable keys) |
|
MutableFloatFloatMap |
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, floatIterator, reject, select
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
void put(float key, float value)
default void putPair(FloatFloatPair keyValuePair)
put(float, float)
void putAll(FloatFloatMap map)
void removeKey(float key)
void remove(float key)
float removeKeyIfAbsent(float key, float value)
float getIfAbsentPut(float key, float value)
float getIfAbsentPut(float key, FloatFunction0 function)
float getIfAbsentPutWithKey(float key, FloatToFloatFunction function)
<P> float getIfAbsentPutWith(float key, FloatFunction<? super P> function, P parameter)
float updateValue(float key, float initialValueIfAbsent, FloatToFloatFunction function)
MutableFloatFloatMap flipUniqueValues()
FloatFloatMap
flipUniqueValues
in interface FloatFloatMap
MutableFloatFloatMap select(FloatFloatPredicate predicate)
select
in interface FloatFloatMap
MutableFloatFloatMap reject(FloatFloatPredicate predicate)
reject
in interface FloatFloatMap
MutableFloatFloatMap withKeyValue(float key, float value)
MutableFloatFloatMap withoutKey(float key)
MutableFloatFloatMap withoutAllKeys(FloatIterable keys)
MutableFloatFloatMap asUnmodifiable()
MutableFloatFloatMap asSynchronized()
float addToValue(float key, float toBeAdded)
Copyright © 2004–2018. All rights reserved.