public interface MutableDoubleObjectMap<V> extends DoubleObjectMap<V>, MutablePrimitiveObjectMap<V>
Modifier and Type | Method and Description |
---|---|
MutableDoubleObjectMap<V> |
asSynchronized() |
MutableDoubleObjectMap<V> |
asUnmodifiable() |
V |
getIfAbsentPut(double key,
Function0<? extends V> function) |
V |
getIfAbsentPut(double key,
V value) |
<P> V |
getIfAbsentPutWith(double key,
Function<? super P,? extends V> function,
P parameter) |
V |
getIfAbsentPutWithKey(double key,
DoubleToObjectFunction<? extends V> function) |
V |
put(double key,
V value) |
void |
putAll(DoubleObjectMap<? extends V> map) |
MutableDoubleObjectMap<V> |
reject(DoubleObjectPredicate<? super V> predicate) |
V |
remove(double key) |
V |
removeKey(double key) |
MutableDoubleObjectMap<V> |
select(DoubleObjectPredicate<? super V> predicate) |
V |
updateValue(double key,
Function0<? extends V> factory,
Function<? super V,? extends V> function)
Look up the value associated with
key , apply the function to it, and replace the value. |
<P> V |
updateValueWith(double key,
Function0<? extends V> factory,
Function2<? super V,? super P,? extends V> function,
P parameter)
Same as
updateValue(double, Function0, Function) with a Function2 and specified parameter which is
passed to the function. |
MutableDoubleObjectMap<V> |
withKeyValue(double key,
V value) |
MutableDoubleObjectMap<V> |
withoutAllKeys(DoubleIterable keys) |
MutableDoubleObjectMap<V> |
withoutKey(double key) |
containsKey, containsValue, equals, forEachKey, forEachKeyValue, forEachValue, get, getIfAbsent, hashCode, keySet, keysView, keyValuesView, tap, toImmutable, toString, values
aggregateBy, aggregateInPlaceBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collect, collectBoolean, collectBoolean, collectByte, collectByte, collectChar, collectChar, collectDouble, collectDouble, collectFloat, collectFloat, collectIf, collectIf, collectInt, collectInt, collectLong, collectLong, collectShort, collectShort, collectWith, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, each, flatCollect, flatCollect, getFirst, getLast, groupBy, groupBy, groupByEach, groupByEach, groupByUniqueKey, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, isEmpty, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, notEmpty, partition, partitionWith, reject, reject, rejectWith, rejectWith, select, select, selectInstancesOf, selectWith, selectWith, size, sumByDouble, sumByFloat, sumByInt, sumByLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, zip, zip, zipWithIndex, zipWithIndex
forEach, forEachWith, forEachWithIndex
forEach, iterator, spliterator
aggregateBy, aggregateInPlaceBy, clear, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, groupBy, groupByEach, groupByUniqueKey, partition, partitionWith, reject, rejectWith, select, selectInstancesOf, selectWith, zip, zipWithIndex
void putAll(DoubleObjectMap<? extends V> map)
V removeKey(double key)
V remove(double key)
V getIfAbsentPutWithKey(double key, DoubleToObjectFunction<? extends V> function)
<P> V getIfAbsentPutWith(double key, Function<? super P,? extends V> function, P parameter)
V updateValue(double key, Function0<? extends V> factory, Function<? super V,? extends V> function)
key
, apply the function
to it, and replace the value. If there
is no value associated with key
, start it off with a value supplied by factory
.<P> V updateValueWith(double key, Function0<? extends V> factory, Function2<? super V,? super P,? extends V> function, P parameter)
updateValue(double, Function0, Function)
with a Function2 and specified parameter which is
passed to the function.MutableDoubleObjectMap<V> select(DoubleObjectPredicate<? super V> predicate)
select
in interface DoubleObjectMap<V>
MutableDoubleObjectMap<V> reject(DoubleObjectPredicate<? super V> predicate)
reject
in interface DoubleObjectMap<V>
MutableDoubleObjectMap<V> withKeyValue(double key, V value)
MutableDoubleObjectMap<V> withoutKey(double key)
MutableDoubleObjectMap<V> withoutAllKeys(DoubleIterable keys)
MutableDoubleObjectMap<V> asUnmodifiable()
MutableDoubleObjectMap<V> asSynchronized()
Copyright © 2004–2016. All rights reserved.