FloatIterable
, ObjectFloatMap<K>
, PrimitiveIterable
ObjectFloatHashMap
, ObjectFloatHashMapWithHashingStrategy
, SynchronizedObjectFloatMap
, UnmodifiableObjectFloatMap
public interface MutableObjectFloatMap<K> extends ObjectFloatMap<K>
Modifier and Type | Method | 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.
|
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) |
|
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) |
allSatisfy, anySatisfy, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, injectInto, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedList
containsKey, containsValue, forEachKey, forEachKeyValue, forEachValue, get, getIfAbsent, getOrThrow, keySet, keysView, keyValuesView, toImmutable, toString, values
appendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, size
MutableFloatIterator floatIterator()
FloatIterable
floatIterator
in interface FloatIterable
void 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)
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)
FloatIterable
select
in interface FloatIterable
MutableFloatCollection reject(FloatPredicate predicate)
FloatIterable
reject
in interface FloatIterable
<V> MutableCollection<V> collect(FloatToObjectFunction<? extends V> function)
FloatIterable
collect
in interface FloatIterable
MutableObjectFloatMap<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.