public interface MutableObjectFloatMap<K> extends ObjectFloatMap<K>
| Modifier and Type | Method and Description |
|---|---|
float |
addToValue(K key,
float toBeAdded) |
MutableObjectFloatMap<K> |
asSynchronized() |
MutableObjectFloatMap<K> |
asUnmodifiable() |
void |
clear() |
<V> MutableCollection<V> |
collect(FloatToObjectFunction<? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
MutableFloatObjectMap<K> |
flipUniqueValues()
Return the FloatObjectMap that is obtained by flipping the direction of this map and making the associations
from value to key.
|
MutableFloatIterator |
floatIterator()
Returns a primitive iterator that can be used to iterate over the FloatIterable in an
imperative style.
|
float |
getIfAbsentPut(K key,
float value) |
float |
getIfAbsentPut(K key,
FloatFunction0 function) |
<P> float |
getIfAbsentPutWith(K key,
FloatFunction<? super P> function,
P parameter) |
float |
getIfAbsentPutWithKey(K key,
FloatFunction<? super K> function) |
void |
put(K key,
float value) |
void |
putAll(ObjectFloatMap<? extends K> map) |
MutableFloatCollection |
reject(FloatPredicate predicate)
Returns a new FloatIterable with all of the elements in the FloatIterable that
return false for the specified predicate.
|
MutableObjectFloatMap<K> |
reject(ObjectFloatPredicate<? super K> predicate) |
void |
remove(Object key) |
void |
removeKey(K key) |
float |
removeKeyIfAbsent(K key,
float value) |
MutableFloatCollection |
select(FloatPredicate predicate)
Returns a new FloatIterable with all of the elements in the FloatIterable that
return true for the specified predicate.
|
MutableObjectFloatMap<K> |
select(ObjectFloatPredicate<? super K> predicate) |
default MutableObjectFloatMap<K> |
tap(FloatProcedure procedure) |
float |
updateValue(K key,
float initialValueIfAbsent,
FloatToFloatFunction function) |
MutableObjectFloatMap<K> |
withKeyValue(K key,
float value) |
MutableObjectFloatMap<K> |
withoutAllKeys(Iterable<? extends K> keys) |
MutableObjectFloatMap<K> |
withoutKey(K key) |
containsKey, containsValue, forEachKey, forEachKeyValue, forEachValue, get, getIfAbsent, getOrThrow, keySet, keysView, keyValuesView, toImmutable, toString, valuesallSatisfy, anySatisfy, asLazy, average, averageIfEmpty, 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, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizeMutableFloatIterator floatIterator()
FloatIterablefloatIterator in interface FloatIterablevoid clear()
void put(K key, float value)
void putAll(ObjectFloatMap<? extends K> map)
void removeKey(K key)
void remove(Object key)
float removeKeyIfAbsent(K key, float value)
float getIfAbsentPut(K key, float value)
float getIfAbsentPut(K key, FloatFunction0 function)
float getIfAbsentPutWithKey(K key, FloatFunction<? super K> function)
<P> float getIfAbsentPutWith(K key, FloatFunction<? super P> function, P parameter)
float updateValue(K key, float initialValueIfAbsent, FloatToFloatFunction function)
MutableFloatObjectMap<K> flipUniqueValues()
ObjectFloatMapflipUniqueValues in interface ObjectFloatMap<K>MutableObjectFloatMap<K> select(ObjectFloatPredicate<? super K> predicate)
select in interface ObjectFloatMap<K>MutableObjectFloatMap<K> reject(ObjectFloatPredicate<? super K> predicate)
reject in interface ObjectFloatMap<K>MutableFloatCollection select(FloatPredicate predicate)
FloatIterableselect in interface FloatIterableMutableFloatCollection reject(FloatPredicate predicate)
FloatIterablereject in interface FloatIterabledefault MutableObjectFloatMap<K> tap(FloatProcedure procedure)
tap in interface FloatIterabletap in interface ObjectFloatMap<K><V> MutableCollection<V> collect(FloatToObjectFunction<? extends V> function)
FloatIterablecollect in interface FloatIterableMutableObjectFloatMap<K> withKeyValue(K key, float value)
MutableObjectFloatMap<K> withoutKey(K key)
MutableObjectFloatMap<K> withoutAllKeys(Iterable<? extends K> keys)
MutableObjectFloatMap<K> asUnmodifiable()
MutableObjectFloatMap<K> asSynchronized()
float addToValue(K key, float toBeAdded)
Copyright © 2004–2017. All rights reserved.