public final class SynchronizedShortDoubleMap extends Object implements org.eclipse.collections.api.map.primitive.MutableShortDoubleMap, Serializable
MutableShortDoubleMap. 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.
MutableShortDoubleMap.asSynchronized(),
MutableMap.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
double |
addToValue(short 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.MutableShortDoubleMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableShortDoubleMap |
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(short 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.ShortProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.ShortDoubleProcedure procedure) |
void |
forEachValue(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure) |
double |
get(short key) |
double |
getIfAbsent(short key,
double ifAbsent) |
double |
getIfAbsentPut(short key,
double value) |
double |
getIfAbsentPut(short key,
org.eclipse.collections.api.block.function.primitive.DoubleFunction0 function) |
<P> double |
getIfAbsentPutWith(short key,
org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super P> function,
P parameter) |
double |
getIfAbsentPutWithKey(short key,
org.eclipse.collections.api.block.function.primitive.ShortToDoubleFunction function) |
double |
getOrThrow(short 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.MutableShortSet |
keySet() |
org.eclipse.collections.api.LazyShortIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.ShortDoublePair> |
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(short key,
double value) |
void |
putAll(org.eclipse.collections.api.map.primitive.ShortDoubleMap map) |
org.eclipse.collections.api.collection.primitive.MutableDoubleCollection |
reject(org.eclipse.collections.api.block.predicate.primitive.DoublePredicate predicate) |
org.eclipse.collections.api.map.primitive.MutableShortDoubleMap |
reject(org.eclipse.collections.api.block.predicate.primitive.ShortDoublePredicate predicate) |
void |
remove(short key) |
void |
removeKey(short key) |
double |
removeKeyIfAbsent(short 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.MutableShortDoubleMap |
select(org.eclipse.collections.api.block.predicate.primitive.ShortDoublePredicate predicate) |
int |
size() |
double |
sum() |
double[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableDoubleBag |
toBag() |
org.eclipse.collections.api.map.primitive.ImmutableShortDoubleMap |
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(short 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.MutableShortDoubleMap |
withKeyValue(short key,
double value) |
org.eclipse.collections.api.map.primitive.MutableShortDoubleMap |
withoutAllKeys(org.eclipse.collections.api.ShortIterable keys) |
org.eclipse.collections.api.map.primitive.MutableShortDoubleMap |
withoutKey(short key) |
public void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableDoubleValuesMappublic void put(short key,
double value)
put in interface org.eclipse.collections.api.map.primitive.MutableShortDoubleMappublic void putAll(org.eclipse.collections.api.map.primitive.ShortDoubleMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableShortDoubleMappublic void removeKey(short key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableShortDoubleMappublic void remove(short key)
remove in interface org.eclipse.collections.api.map.primitive.MutableShortDoubleMappublic double removeKeyIfAbsent(short key,
double value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableShortDoubleMappublic double getIfAbsentPut(short key,
double value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableShortDoubleMappublic double getIfAbsentPut(short key,
org.eclipse.collections.api.block.function.primitive.DoubleFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableShortDoubleMappublic double getIfAbsentPutWithKey(short key,
org.eclipse.collections.api.block.function.primitive.ShortToDoubleFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableShortDoubleMappublic <P> double getIfAbsentPutWith(short key,
org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableShortDoubleMappublic double updateValue(short key,
double initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.DoubleToDoubleFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableShortDoubleMappublic double get(short key)
get in interface org.eclipse.collections.api.map.primitive.ShortDoubleMappublic double getIfAbsent(short key,
double ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.ShortDoubleMappublic double getOrThrow(short key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.ShortDoubleMappublic boolean containsKey(short key)
containsKey in interface org.eclipse.collections.api.map.primitive.ShortDoubleMappublic 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.ShortProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.ShortDoubleMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.ShortDoubleProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.ShortDoubleMappublic org.eclipse.collections.api.LazyShortIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.ShortDoubleMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.ShortDoublePair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.ShortDoubleMappublic org.eclipse.collections.api.map.primitive.MutableShortDoubleMap select(org.eclipse.collections.api.block.predicate.primitive.ShortDoublePredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.MutableShortDoubleMapselect in interface org.eclipse.collections.api.map.primitive.ShortDoubleMappublic org.eclipse.collections.api.map.primitive.MutableShortDoubleMap reject(org.eclipse.collections.api.block.predicate.primitive.ShortDoublePredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.MutableShortDoubleMapreject in interface org.eclipse.collections.api.map.primitive.ShortDoubleMappublic 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(short key,
double toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableShortDoubleMappublic 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.MutableShortDoubleMap withKeyValue(short key,
double value)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableShortDoubleMappublic org.eclipse.collections.api.map.primitive.MutableShortDoubleMap withoutKey(short key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableShortDoubleMappublic org.eclipse.collections.api.map.primitive.MutableShortDoubleMap withoutAllKeys(org.eclipse.collections.api.ShortIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableShortDoubleMappublic org.eclipse.collections.api.map.primitive.MutableShortDoubleMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableShortDoubleMappublic org.eclipse.collections.api.map.primitive.MutableShortDoubleMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableShortDoubleMappublic org.eclipse.collections.api.map.primitive.ImmutableShortDoubleMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.ShortDoubleMappublic 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.MutableShortSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.ShortDoubleMappublic 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.