public final class SynchronizedCharDoubleMap extends Object implements org.eclipse.collections.api.map.primitive.MutableCharDoubleMap, Serializable
MutableCharDoubleMap. 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.
MutableCharDoubleMap.asSynchronized(),
MutableMap.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
double |
addToValue(char 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.MutableCharDoubleMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableCharDoubleMap |
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(char 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.CharProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.CharDoubleProcedure procedure) |
void |
forEachValue(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure) |
double |
get(char key) |
double |
getIfAbsent(char key,
double ifAbsent) |
double |
getIfAbsentPut(char key,
double value) |
double |
getIfAbsentPut(char key,
org.eclipse.collections.api.block.function.primitive.DoubleFunction0 function) |
<P> double |
getIfAbsentPutWith(char key,
org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super P> function,
P parameter) |
double |
getIfAbsentPutWithKey(char key,
org.eclipse.collections.api.block.function.primitive.CharToDoubleFunction function) |
double |
getOrThrow(char 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.MutableCharSet |
keySet() |
org.eclipse.collections.api.LazyCharIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.CharDoublePair> |
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(char key,
double value) |
void |
putAll(org.eclipse.collections.api.map.primitive.CharDoubleMap map) |
org.eclipse.collections.api.map.primitive.MutableCharDoubleMap |
reject(org.eclipse.collections.api.block.predicate.primitive.CharDoublePredicate predicate) |
org.eclipse.collections.api.collection.primitive.MutableDoubleCollection |
reject(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
void |
remove(char key) |
void |
removeKey(char key) |
double |
removeKeyIfAbsent(char key,
double value) |
org.eclipse.collections.api.map.primitive.MutableCharDoubleMap |
select(org.eclipse.collections.api.block.predicate.primitive.CharDoublePredicate predicate) |
org.eclipse.collections.api.collection.primitive.MutableDoubleCollection |
select(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
int |
size() |
double |
sum() |
double[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableDoubleBag |
toBag() |
org.eclipse.collections.api.map.primitive.ImmutableCharDoubleMap |
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(char 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.MutableCharDoubleMap |
withKeyValue(char key,
double value) |
org.eclipse.collections.api.map.primitive.MutableCharDoubleMap |
withoutAllKeys(org.eclipse.collections.api.CharIterable keys) |
org.eclipse.collections.api.map.primitive.MutableCharDoubleMap |
withoutKey(char key) |
public void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableDoubleValuesMappublic void put(char key,
double value)
put in interface org.eclipse.collections.api.map.primitive.MutableCharDoubleMappublic void putAll(org.eclipse.collections.api.map.primitive.CharDoubleMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableCharDoubleMappublic void removeKey(char key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableCharDoubleMappublic void remove(char key)
remove in interface org.eclipse.collections.api.map.primitive.MutableCharDoubleMappublic double removeKeyIfAbsent(char key,
double value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableCharDoubleMappublic double getIfAbsentPut(char key,
double value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableCharDoubleMappublic double getIfAbsentPut(char key,
org.eclipse.collections.api.block.function.primitive.DoubleFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableCharDoubleMappublic double getIfAbsentPutWithKey(char key,
org.eclipse.collections.api.block.function.primitive.CharToDoubleFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableCharDoubleMappublic <P> double getIfAbsentPutWith(char key,
org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableCharDoubleMappublic double updateValue(char key,
double initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.DoubleToDoubleFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableCharDoubleMappublic double get(char key)
get in interface org.eclipse.collections.api.map.primitive.CharDoubleMappublic double getIfAbsent(char key,
double ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.CharDoubleMappublic double getOrThrow(char key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.CharDoubleMappublic boolean containsKey(char key)
containsKey in interface org.eclipse.collections.api.map.primitive.CharDoubleMappublic 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.CharProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.CharDoubleMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.CharDoubleProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.CharDoubleMappublic org.eclipse.collections.api.LazyCharIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.CharDoubleMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.CharDoublePair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.CharDoubleMappublic org.eclipse.collections.api.map.primitive.MutableCharDoubleMap select(org.eclipse.collections.api.block.predicate.primitive.CharDoublePredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.CharDoubleMapselect in interface org.eclipse.collections.api.map.primitive.MutableCharDoubleMappublic org.eclipse.collections.api.map.primitive.MutableCharDoubleMap reject(org.eclipse.collections.api.block.predicate.primitive.CharDoublePredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.CharDoubleMapreject in interface org.eclipse.collections.api.map.primitive.MutableCharDoubleMappublic 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(char key,
double toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableCharDoubleMappublic 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.MutableCharDoubleMap withKeyValue(char key,
double value)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableCharDoubleMappublic org.eclipse.collections.api.map.primitive.MutableCharDoubleMap withoutKey(char key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableCharDoubleMappublic org.eclipse.collections.api.map.primitive.MutableCharDoubleMap withoutAllKeys(org.eclipse.collections.api.CharIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableCharDoubleMappublic org.eclipse.collections.api.map.primitive.MutableCharDoubleMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableCharDoubleMappublic org.eclipse.collections.api.map.primitive.MutableCharDoubleMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableCharDoubleMappublic org.eclipse.collections.api.map.primitive.ImmutableCharDoubleMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.CharDoubleMappublic 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.MutableCharSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.CharDoubleMappublic 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–2017. All rights reserved.