DoubleIterable
, ObjectDoubleMap<K>
, PrimitiveIterable
ObjectDoubleHashMap
, ObjectDoubleHashMapWithHashingStrategy
, SynchronizedObjectDoubleMap
, UnmodifiableObjectDoubleMap
public interface MutableObjectDoubleMap<K> extends ObjectDoubleMap<K>
Modifier and Type | Method | Description |
---|---|---|
double |
addToValue(K key,
double toBeAdded) |
|
MutableObjectDoubleMap<K> |
asSynchronized() |
|
MutableObjectDoubleMap<K> |
asUnmodifiable() |
|
void |
clear() |
|
<V> MutableCollection<V> |
collect(DoubleToObjectFunction<? extends V> function) |
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
MutableDoubleIterator |
doubleIterator() |
Returns a primitive iterator that can be used to iterate over the DoubleIterable in an
imperative style.
|
double |
getIfAbsentPut(K key,
double value) |
|
double |
getIfAbsentPut(K key,
DoubleFunction0 function) |
|
<P> double |
getIfAbsentPutWith(K key,
DoubleFunction<? super P> function,
P parameter) |
|
double |
getIfAbsentPutWithKey(K key,
DoubleFunction<? super K> function) |
|
void |
put(K key,
double value) |
|
void |
putAll(ObjectDoubleMap<? extends K> map) |
|
MutableDoubleCollection |
reject(DoublePredicate predicate) |
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return false for the specified predicate.
|
MutableObjectDoubleMap<K> |
reject(ObjectDoublePredicate<? super K> predicate) |
|
void |
remove(Object key) |
|
void |
removeKey(K key) |
|
double |
removeKeyIfAbsent(K key,
double value) |
|
MutableDoubleCollection |
select(DoublePredicate predicate) |
Returns a new DoubleIterable with all of the elements in the DoubleIterable that
return true for the specified predicate.
|
MutableObjectDoubleMap<K> |
select(ObjectDoublePredicate<? super K> predicate) |
|
double |
updateValue(K key,
double initialValueIfAbsent,
DoubleToDoubleFunction function) |
|
MutableObjectDoubleMap<K> |
withKeyValue(K key,
double value) |
|
MutableObjectDoubleMap<K> |
withoutAllKeys(Iterable<? extends K> keys) |
|
MutableObjectDoubleMap<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
MutableDoubleIterator doubleIterator()
DoubleIterable
doubleIterator
in interface DoubleIterable
void clear()
void put(K key, double value)
void putAll(ObjectDoubleMap<? extends K> map)
void removeKey(K key)
void remove(Object key)
double removeKeyIfAbsent(K key, double value)
double getIfAbsentPut(K key, double value)
double getIfAbsentPut(K key, DoubleFunction0 function)
double getIfAbsentPutWithKey(K key, DoubleFunction<? super K> function)
<P> double getIfAbsentPutWith(K key, DoubleFunction<? super P> function, P parameter)
double updateValue(K key, double initialValueIfAbsent, DoubleToDoubleFunction function)
MutableObjectDoubleMap<K> select(ObjectDoublePredicate<? super K> predicate)
select
in interface ObjectDoubleMap<K>
MutableObjectDoubleMap<K> reject(ObjectDoublePredicate<? super K> predicate)
reject
in interface ObjectDoubleMap<K>
MutableDoubleCollection select(DoublePredicate predicate)
DoubleIterable
select
in interface DoubleIterable
MutableDoubleCollection reject(DoublePredicate predicate)
DoubleIterable
reject
in interface DoubleIterable
<V> MutableCollection<V> collect(DoubleToObjectFunction<? extends V> function)
DoubleIterable
collect
in interface DoubleIterable
MutableObjectDoubleMap<K> withKeyValue(K key, double value)
MutableObjectDoubleMap<K> withoutKey(K key)
MutableObjectDoubleMap<K> withoutAllKeys(Iterable<? extends K> keys)
MutableObjectDoubleMap<K> asUnmodifiable()
MutableObjectDoubleMap<K> asSynchronized()
double addToValue(K key, double toBeAdded)
Copyright © 2004–2017. All rights reserved.