FloatIterable
, FloatValuesMap
, MutableFloatValuesMap
, PrimitiveIterable
, ShortFloatMap
ShortFloatHashMap
, SynchronizedShortFloatMap
, UnmodifiableShortFloatMap
public interface MutableShortFloatMap extends ShortFloatMap, MutableFloatValuesMap
Modifier and Type | Method | Description |
---|---|---|
float |
addToValue(short key,
float toBeAdded) |
|
MutableShortFloatMap |
asSynchronized() |
|
MutableShortFloatMap |
asUnmodifiable() |
|
MutableFloatShortMap |
flipUniqueValues() |
Return the FloatShortMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
float |
getIfAbsentPut(short key,
float value) |
|
float |
getIfAbsentPut(short key,
FloatFunction0 function) |
|
<P> float |
getIfAbsentPutWith(short key,
FloatFunction<? super P> function,
P parameter) |
|
float |
getIfAbsentPutWithKey(short key,
ShortToFloatFunction function) |
|
void |
put(short key,
float value) |
|
void |
putAll(ShortFloatMap map) |
|
default void |
putPair(ShortFloatPair keyValuePair) |
This method allows MutableShortFloatMap the ability to add an element in the form of ShortFloatPair.
|
MutableShortFloatMap |
reject(ShortFloatPredicate predicate) |
|
void |
remove(short key) |
|
void |
removeKey(short key) |
|
float |
removeKeyIfAbsent(short key,
float value) |
|
MutableShortFloatMap |
select(ShortFloatPredicate predicate) |
|
float |
updateValue(short key,
float initialValueIfAbsent,
FloatToFloatFunction function) |
|
MutableShortFloatMap |
withKeyValue(short key,
float value) |
|
MutableShortFloatMap |
withoutAllKeys(ShortIterable keys) |
|
MutableShortFloatMap |
withoutKey(short key) |
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
containsKey, equals, forEachKey, forEachKeyValue, get, getIfAbsent, getOrThrow, hashCode, keySet, keysView, keyValuesView, toImmutable, toString
void put(short key, float value)
default void putPair(ShortFloatPair keyValuePair)
put(short, float)
void putAll(ShortFloatMap map)
void removeKey(short key)
void remove(short key)
float removeKeyIfAbsent(short key, float value)
float getIfAbsentPut(short key, float value)
float getIfAbsentPut(short key, FloatFunction0 function)
float getIfAbsentPutWithKey(short key, ShortToFloatFunction function)
<P> float getIfAbsentPutWith(short key, FloatFunction<? super P> function, P parameter)
float updateValue(short key, float initialValueIfAbsent, FloatToFloatFunction function)
MutableFloatShortMap flipUniqueValues()
ShortFloatMap
flipUniqueValues
in interface ShortFloatMap
MutableShortFloatMap select(ShortFloatPredicate predicate)
select
in interface ShortFloatMap
MutableShortFloatMap reject(ShortFloatPredicate predicate)
reject
in interface ShortFloatMap
MutableShortFloatMap withKeyValue(short key, float value)
MutableShortFloatMap withoutKey(short key)
MutableShortFloatMap withoutAllKeys(ShortIterable keys)
MutableShortFloatMap asUnmodifiable()
MutableShortFloatMap asSynchronized()
float addToValue(short key, float toBeAdded)
Copyright © 2004–2018. All rights reserved.