ByteFloatMap
, FloatIterable
, FloatValuesMap
, MutableFloatValuesMap
, PrimitiveIterable
ByteFloatHashMap
, SynchronizedByteFloatMap
, UnmodifiableByteFloatMap
public interface MutableByteFloatMap extends ByteFloatMap, MutableFloatValuesMap
Modifier and Type | Method | Description |
---|---|---|
float |
addToValue(byte key,
float toBeAdded) |
|
MutableByteFloatMap |
asSynchronized() |
|
MutableByteFloatMap |
asUnmodifiable() |
|
MutableFloatByteMap |
flipUniqueValues() |
Return the FloatByteMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
float |
getIfAbsentPut(byte key,
float value) |
|
float |
getIfAbsentPut(byte key,
FloatFunction0 function) |
|
<P> float |
getIfAbsentPutWith(byte key,
FloatFunction<? super P> function,
P parameter) |
|
float |
getIfAbsentPutWithKey(byte key,
ByteToFloatFunction function) |
|
void |
put(byte key,
float value) |
|
void |
putAll(ByteFloatMap map) |
|
default void |
putPair(ByteFloatPair keyValuePair) |
This method allows MutableByteFloatMap the ability to add an element in the form of ByteFloatPair.
|
MutableByteFloatMap |
reject(ByteFloatPredicate predicate) |
|
void |
remove(byte key) |
|
void |
removeKey(byte key) |
|
float |
removeKeyIfAbsent(byte key,
float value) |
|
MutableByteFloatMap |
select(ByteFloatPredicate predicate) |
|
float |
updateValue(byte key,
float initialValueIfAbsent,
FloatToFloatFunction function) |
|
MutableByteFloatMap |
withKeyValue(byte key,
float value) |
|
MutableByteFloatMap |
withoutAllKeys(ByteIterable keys) |
|
MutableByteFloatMap |
withoutKey(byte 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(byte key, float value)
default void putPair(ByteFloatPair keyValuePair)
put(byte, float)
void putAll(ByteFloatMap map)
void removeKey(byte key)
void remove(byte key)
float removeKeyIfAbsent(byte key, float value)
float getIfAbsentPut(byte key, float value)
float getIfAbsentPut(byte key, FloatFunction0 function)
float getIfAbsentPutWithKey(byte key, ByteToFloatFunction function)
<P> float getIfAbsentPutWith(byte key, FloatFunction<? super P> function, P parameter)
float updateValue(byte key, float initialValueIfAbsent, FloatToFloatFunction function)
MutableFloatByteMap flipUniqueValues()
ByteFloatMap
flipUniqueValues
in interface ByteFloatMap
MutableByteFloatMap select(ByteFloatPredicate predicate)
select
in interface ByteFloatMap
MutableByteFloatMap reject(ByteFloatPredicate predicate)
reject
in interface ByteFloatMap
MutableByteFloatMap withKeyValue(byte key, float value)
MutableByteFloatMap withoutKey(byte key)
MutableByteFloatMap withoutAllKeys(ByteIterable keys)
MutableByteFloatMap asUnmodifiable()
MutableByteFloatMap asSynchronized()
float addToValue(byte key, float toBeAdded)
Copyright © 2004–2018. All rights reserved.