public final class SynchronizedIntDoubleMap extends Object implements org.eclipse.collections.api.map.primitive.MutableIntDoubleMap, Serializable
MutableIntDoubleMap. It is imperative that the user manually synchronize on the collection when iterating over it using the
MutableDoubleIterator as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitivePrimitiveMap.stg.
MutableIntDoubleMap.asSynchronized(),
MutableMap.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
double |
addToValue(int key,
double toBeAdded) |
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
void |
appendString(Appendable appendable) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
org.eclipse.collections.api.LazyDoubleIterable |
asLazy() |
org.eclipse.collections.api.map.primitive.MutableIntDoubleMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableIntDoubleMap |
asUnmodifiable() |
double |
average() |
void |
clear() |
<V> org.eclipse.collections.api.collection.MutableCollection<V> |
collect(org.eclipse.collections.api.block.function.primitive.DoubleToObjectFunction<? extends V> function) |
boolean |
contains(double value) |
boolean |
containsAll(double... source) |
boolean |
containsAll(org.eclipse.collections.api.DoubleIterable source) |
boolean |
containsKey(int key) |
boolean |
containsValue(double value) |
int |
count(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
double |
detectIfNone(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate,
double ifNone) |
org.eclipse.collections.api.iterator.MutableDoubleIterator |
doubleIterator()
This must be manually synchronized by the developer.
|
void |
each(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure) |
boolean |
equals(Object otherMap) |
void |
forEach(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.IntDoubleProcedure procedure) |
void |
forEachValue(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure) |
double |
get(int key) |
double |
getIfAbsent(int key,
double ifAbsent) |
double |
getIfAbsentPut(int key,
double value) |
double |
getIfAbsentPut(int key,
org.eclipse.collections.api.block.function.primitive.DoubleFunction0 function) |
<P> double |
getIfAbsentPutWith(int key,
org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super P> function,
P parameter) |
double |
getIfAbsentPutWithKey(int key,
org.eclipse.collections.api.block.function.primitive.IntToDoubleFunction function) |
double |
getOrThrow(int key) |
int |
hashCode() |
<T> T |
injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectDoubleToObjectFunction<? super T,? extends T> function) |
boolean |
isEmpty() |
org.eclipse.collections.api.set.primitive.MutableIntSet |
keySet() |
org.eclipse.collections.api.LazyIntIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.IntDoublePair> |
keyValuesView() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
double |
max() |
double |
maxIfEmpty(double defaultValue) |
double |
median() |
double |
min() |
double |
minIfEmpty(double defaultValue) |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
boolean |
notEmpty() |
void |
put(int key,
double value) |
void |
putAll(org.eclipse.collections.api.map.primitive.IntDoubleMap map) |
org.eclipse.collections.api.collection.primitive.MutableDoubleCollection |
reject(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
org.eclipse.collections.api.map.primitive.MutableIntDoubleMap |
reject(org.eclipse.collections.api.block.predicate.primitive.IntDoublePredicate predicate) |
void |
remove(int key) |
void |
removeKey(int key) |
double |
removeKeyIfAbsent(int key,
double value) |
org.eclipse.collections.api.collection.primitive.MutableDoubleCollection |
select(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
org.eclipse.collections.api.map.primitive.MutableIntDoubleMap |
select(org.eclipse.collections.api.block.predicate.primitive.IntDoublePredicate predicate) |
int |
size() |
double |
sum() |
double[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableDoubleBag |
toBag() |
org.eclipse.collections.api.map.primitive.ImmutableIntDoubleMap |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
toList() |
org.eclipse.collections.api.set.primitive.MutableDoubleSet |
toSet() |
double[] |
toSortedArray() |
org.eclipse.collections.api.list.primitive.MutableDoubleList |
toSortedList() |
String |
toString() |
double |
updateValue(int key,
double initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.DoubleToDoubleFunction function) |
org.eclipse.collections.api.collection.primitive.MutableDoubleCollection |
values() |
org.eclipse.collections.api.map.primitive.MutableIntDoubleMap |
withKeyValue(int key,
double value) |
org.eclipse.collections.api.map.primitive.MutableIntDoubleMap |
withoutAllKeys(org.eclipse.collections.api.IntIterable keys) |
org.eclipse.collections.api.map.primitive.MutableIntDoubleMap |
withoutKey(int key) |
public void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableDoubleValuesMappublic void put(int key,
double value)
put in interface org.eclipse.collections.api.map.primitive.MutableIntDoubleMappublic void putAll(org.eclipse.collections.api.map.primitive.IntDoubleMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableIntDoubleMappublic void removeKey(int key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableIntDoubleMappublic void remove(int key)
remove in interface org.eclipse.collections.api.map.primitive.MutableIntDoubleMappublic double removeKeyIfAbsent(int key,
double value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableIntDoubleMappublic double getIfAbsentPut(int key,
double value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableIntDoubleMappublic double getIfAbsentPut(int key,
org.eclipse.collections.api.block.function.primitive.DoubleFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableIntDoubleMappublic double getIfAbsentPutWithKey(int key,
org.eclipse.collections.api.block.function.primitive.IntToDoubleFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableIntDoubleMappublic <P> double getIfAbsentPutWith(int key,
org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableIntDoubleMappublic double updateValue(int key,
double initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.DoubleToDoubleFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableIntDoubleMappublic double get(int key)
get in interface org.eclipse.collections.api.map.primitive.IntDoubleMappublic double getIfAbsent(int key,
double ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.IntDoubleMappublic double getOrThrow(int key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.IntDoubleMappublic boolean containsKey(int key)
containsKey in interface org.eclipse.collections.api.map.primitive.IntDoubleMappublic boolean containsValue(double value)
containsValue in interface org.eclipse.collections.api.map.primitive.DoubleValuesMappublic void forEachValue(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure)
forEachValue in interface org.eclipse.collections.api.map.primitive.DoubleValuesMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.IntDoubleMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.IntDoubleProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.IntDoubleMappublic org.eclipse.collections.api.LazyIntIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.IntDoubleMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.IntDoublePair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.IntDoubleMappublic org.eclipse.collections.api.map.primitive.MutableIntDoubleMap select(org.eclipse.collections.api.block.predicate.primitive.IntDoublePredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.IntDoubleMapselect in interface org.eclipse.collections.api.map.primitive.MutableIntDoubleMappublic org.eclipse.collections.api.map.primitive.MutableIntDoubleMap reject(org.eclipse.collections.api.block.predicate.primitive.IntDoublePredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.IntDoubleMapreject in interface org.eclipse.collections.api.map.primitive.MutableIntDoubleMappublic org.eclipse.collections.api.iterator.MutableDoubleIterator doubleIterator()
doubleIterator in interface org.eclipse.collections.api.DoubleIterabledoubleIterator in interface org.eclipse.collections.api.map.primitive.MutableDoubleValuesMappublic void forEach(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure)
forEach in interface org.eclipse.collections.api.DoubleIterablepublic void each(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure)
each in interface org.eclipse.collections.api.DoubleIterablepublic int count(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate)
count in interface org.eclipse.collections.api.DoubleIterablepublic boolean anySatisfy(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate)
anySatisfy in interface org.eclipse.collections.api.DoubleIterablepublic boolean allSatisfy(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate)
allSatisfy in interface org.eclipse.collections.api.DoubleIterablepublic boolean noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate)
noneSatisfy in interface org.eclipse.collections.api.DoubleIterablepublic org.eclipse.collections.api.collection.primitive.MutableDoubleCollection select(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate)
select in interface org.eclipse.collections.api.DoubleIterableselect in interface org.eclipse.collections.api.map.primitive.MutableDoubleValuesMappublic org.eclipse.collections.api.collection.primitive.MutableDoubleCollection reject(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate)
reject in interface org.eclipse.collections.api.DoubleIterablereject in interface org.eclipse.collections.api.map.primitive.MutableDoubleValuesMappublic double detectIfNone(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate,
double ifNone)
detectIfNone in interface org.eclipse.collections.api.DoubleIterablepublic <V> org.eclipse.collections.api.collection.MutableCollection<V> collect(org.eclipse.collections.api.block.function.primitive.DoubleToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.DoubleIterablecollect in interface org.eclipse.collections.api.map.primitive.MutableDoubleValuesMappublic double sum()
sum in interface org.eclipse.collections.api.DoubleIterablepublic double max()
max in interface org.eclipse.collections.api.DoubleIterablepublic double maxIfEmpty(double defaultValue)
maxIfEmpty in interface org.eclipse.collections.api.DoubleIterablepublic double min()
min in interface org.eclipse.collections.api.DoubleIterablepublic double minIfEmpty(double defaultValue)
minIfEmpty in interface org.eclipse.collections.api.DoubleIterablepublic double average()
average in interface org.eclipse.collections.api.DoubleIterablepublic double median()
median in interface org.eclipse.collections.api.DoubleIterablepublic double addToValue(int key,
double toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableIntDoubleMappublic double[] toSortedArray()
toSortedArray in interface org.eclipse.collections.api.DoubleIterablepublic org.eclipse.collections.api.list.primitive.MutableDoubleList toSortedList()
toSortedList in interface org.eclipse.collections.api.DoubleIterablepublic double[] toArray()
toArray in interface org.eclipse.collections.api.DoubleIterablepublic boolean contains(double value)
contains in interface org.eclipse.collections.api.DoubleIterablepublic boolean containsAll(double... source)
containsAll in interface org.eclipse.collections.api.DoubleIterablepublic boolean containsAll(org.eclipse.collections.api.DoubleIterable source)
containsAll in interface org.eclipse.collections.api.DoubleIterablepublic org.eclipse.collections.api.list.primitive.MutableDoubleList toList()
toList in interface org.eclipse.collections.api.DoubleIterablepublic org.eclipse.collections.api.set.primitive.MutableDoubleSet toSet()
toSet in interface org.eclipse.collections.api.DoubleIterablepublic org.eclipse.collections.api.bag.primitive.MutableDoubleBag toBag()
toBag in interface org.eclipse.collections.api.DoubleIterablepublic org.eclipse.collections.api.LazyDoubleIterable asLazy()
asLazy in interface org.eclipse.collections.api.DoubleIterablepublic org.eclipse.collections.api.map.primitive.MutableIntDoubleMap withKeyValue(int key,
double value)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableIntDoubleMappublic org.eclipse.collections.api.map.primitive.MutableIntDoubleMap withoutKey(int key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableIntDoubleMappublic org.eclipse.collections.api.map.primitive.MutableIntDoubleMap withoutAllKeys(org.eclipse.collections.api.IntIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableIntDoubleMappublic org.eclipse.collections.api.map.primitive.MutableIntDoubleMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableIntDoubleMappublic org.eclipse.collections.api.map.primitive.MutableIntDoubleMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableIntDoubleMappublic org.eclipse.collections.api.map.primitive.ImmutableIntDoubleMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.IntDoubleMappublic int size()
size in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic org.eclipse.collections.api.set.primitive.MutableIntSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.IntDoubleMappublic org.eclipse.collections.api.collection.primitive.MutableDoubleCollection values()
values in interface org.eclipse.collections.api.map.primitive.DoubleValuesMappublic boolean equals(Object otherMap)
public int hashCode()
public String toString()
public String makeString()
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String separator)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic <T> T injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectDoubleToObjectFunction<? super T,? extends T> function)
injectInto in interface org.eclipse.collections.api.DoubleIterableCopyright © 2004–2018. All rights reserved.