public final class SynchronizedDoubleShortMap extends Object implements org.eclipse.collections.api.map.primitive.MutableDoubleShortMap, Serializable
MutableDoubleShortMap. It is imperative that the user manually synchronize on the collection when iterating over it using the
MutableShortIterator as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitivePrimitiveMap.stg.
MutableDoubleShortMap.asSynchronized(),
MutableMap.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
short |
addToValue(double key,
short toBeAdded) |
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate 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.LazyShortIterable |
asLazy() |
org.eclipse.collections.api.map.primitive.MutableDoubleShortMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableDoubleShortMap |
asUnmodifiable() |
double |
average() |
void |
clear() |
<V> org.eclipse.collections.api.collection.MutableCollection<V> |
collect(org.eclipse.collections.api.block.function.primitive.ShortToObjectFunction<? extends V> function) |
boolean |
contains(short value) |
boolean |
containsAll(short... source) |
boolean |
containsAll(org.eclipse.collections.api.ShortIterable source) |
boolean |
containsKey(double key) |
boolean |
containsValue(short value) |
int |
count(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate) |
short |
detectIfNone(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate,
short ifNone) |
void |
each(org.eclipse.collections.api.block.procedure.primitive.ShortProcedure procedure) |
boolean |
equals(Object otherMap) |
void |
forEach(org.eclipse.collections.api.block.procedure.primitive.ShortProcedure procedure) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.DoubleShortProcedure procedure) |
void |
forEachValue(org.eclipse.collections.api.block.procedure.primitive.ShortProcedure procedure) |
short |
get(double key) |
short |
getIfAbsent(double key,
short ifAbsent) |
short |
getIfAbsentPut(double key,
short value) |
short |
getIfAbsentPut(double key,
org.eclipse.collections.api.block.function.primitive.ShortFunction0 function) |
<P> short |
getIfAbsentPutWith(double key,
org.eclipse.collections.api.block.function.primitive.ShortFunction<? super P> function,
P parameter) |
short |
getIfAbsentPutWithKey(double key,
org.eclipse.collections.api.block.function.primitive.DoubleToShortFunction function) |
short |
getOrThrow(double key) |
int |
hashCode() |
<T> T |
injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectShortToObjectFunction<? super T,? extends T> function) |
boolean |
isEmpty() |
org.eclipse.collections.api.set.primitive.MutableDoubleSet |
keySet() |
org.eclipse.collections.api.LazyDoubleIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.DoubleShortPair> |
keyValuesView() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
short |
max() |
short |
maxIfEmpty(short defaultValue) |
double |
median() |
short |
min() |
short |
minIfEmpty(short defaultValue) |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate) |
boolean |
notEmpty() |
void |
put(double key,
short value) |
void |
putAll(org.eclipse.collections.api.map.primitive.DoubleShortMap map) |
org.eclipse.collections.api.map.primitive.MutableDoubleShortMap |
reject(org.eclipse.collections.api.block.predicate.primitive.DoubleShortPredicate predicate) |
org.eclipse.collections.api.collection.primitive.MutableShortCollection |
reject(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate) |
void |
remove(double key) |
void |
removeKey(double key) |
short |
removeKeyIfAbsent(double key,
short value) |
org.eclipse.collections.api.map.primitive.MutableDoubleShortMap |
select(org.eclipse.collections.api.block.predicate.primitive.DoubleShortPredicate predicate) |
org.eclipse.collections.api.collection.primitive.MutableShortCollection |
select(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate) |
org.eclipse.collections.api.iterator.MutableShortIterator |
shortIterator()
This must be manually synchronized by the developer.
|
int |
size() |
long |
sum() |
short[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableShortBag |
toBag() |
org.eclipse.collections.api.map.primitive.ImmutableDoubleShortMap |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableShortList |
toList() |
org.eclipse.collections.api.set.primitive.MutableShortSet |
toSet() |
short[] |
toSortedArray() |
org.eclipse.collections.api.list.primitive.MutableShortList |
toSortedList() |
String |
toString() |
short |
updateValue(double key,
short initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.ShortToShortFunction function) |
org.eclipse.collections.api.collection.primitive.MutableShortCollection |
values() |
org.eclipse.collections.api.map.primitive.MutableDoubleShortMap |
withKeyValue(double key,
short value) |
org.eclipse.collections.api.map.primitive.MutableDoubleShortMap |
withoutAllKeys(org.eclipse.collections.api.DoubleIterable keys) |
org.eclipse.collections.api.map.primitive.MutableDoubleShortMap |
withoutKey(double key) |
public void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableShortValuesMappublic void put(double key,
short value)
put in interface org.eclipse.collections.api.map.primitive.MutableDoubleShortMappublic void putAll(org.eclipse.collections.api.map.primitive.DoubleShortMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableDoubleShortMappublic void removeKey(double key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableDoubleShortMappublic void remove(double key)
remove in interface org.eclipse.collections.api.map.primitive.MutableDoubleShortMappublic short removeKeyIfAbsent(double key,
short value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableDoubleShortMappublic short getIfAbsentPut(double key,
short value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableDoubleShortMappublic short getIfAbsentPut(double key,
org.eclipse.collections.api.block.function.primitive.ShortFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableDoubleShortMappublic short getIfAbsentPutWithKey(double key,
org.eclipse.collections.api.block.function.primitive.DoubleToShortFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableDoubleShortMappublic <P> short getIfAbsentPutWith(double key,
org.eclipse.collections.api.block.function.primitive.ShortFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableDoubleShortMappublic short updateValue(double key,
short initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.ShortToShortFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableDoubleShortMappublic short get(double key)
get in interface org.eclipse.collections.api.map.primitive.DoubleShortMappublic short getIfAbsent(double key,
short ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.DoubleShortMappublic short getOrThrow(double key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.DoubleShortMappublic boolean containsKey(double key)
containsKey in interface org.eclipse.collections.api.map.primitive.DoubleShortMappublic boolean containsValue(short value)
containsValue in interface org.eclipse.collections.api.map.primitive.ShortValuesMappublic void forEachValue(org.eclipse.collections.api.block.procedure.primitive.ShortProcedure procedure)
forEachValue in interface org.eclipse.collections.api.map.primitive.ShortValuesMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.DoubleShortMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.DoubleShortProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.DoubleShortMappublic org.eclipse.collections.api.LazyDoubleIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.DoubleShortMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.DoubleShortPair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.DoubleShortMappublic org.eclipse.collections.api.map.primitive.MutableDoubleShortMap select(org.eclipse.collections.api.block.predicate.primitive.DoubleShortPredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.DoubleShortMapselect in interface org.eclipse.collections.api.map.primitive.MutableDoubleShortMappublic org.eclipse.collections.api.map.primitive.MutableDoubleShortMap reject(org.eclipse.collections.api.block.predicate.primitive.DoubleShortPredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.DoubleShortMapreject in interface org.eclipse.collections.api.map.primitive.MutableDoubleShortMappublic org.eclipse.collections.api.iterator.MutableShortIterator shortIterator()
shortIterator in interface org.eclipse.collections.api.map.primitive.MutableShortValuesMapshortIterator in interface org.eclipse.collections.api.ShortIterablepublic void forEach(org.eclipse.collections.api.block.procedure.primitive.ShortProcedure procedure)
forEach in interface org.eclipse.collections.api.ShortIterablepublic void each(org.eclipse.collections.api.block.procedure.primitive.ShortProcedure procedure)
each in interface org.eclipse.collections.api.ShortIterablepublic int count(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate)
count in interface org.eclipse.collections.api.ShortIterablepublic boolean anySatisfy(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate)
anySatisfy in interface org.eclipse.collections.api.ShortIterablepublic boolean allSatisfy(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate)
allSatisfy in interface org.eclipse.collections.api.ShortIterablepublic boolean noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate)
noneSatisfy in interface org.eclipse.collections.api.ShortIterablepublic org.eclipse.collections.api.collection.primitive.MutableShortCollection select(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.MutableShortValuesMapselect in interface org.eclipse.collections.api.ShortIterablepublic org.eclipse.collections.api.collection.primitive.MutableShortCollection reject(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.MutableShortValuesMapreject in interface org.eclipse.collections.api.ShortIterablepublic short detectIfNone(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate predicate,
short ifNone)
detectIfNone in interface org.eclipse.collections.api.ShortIterablepublic <V> org.eclipse.collections.api.collection.MutableCollection<V> collect(org.eclipse.collections.api.block.function.primitive.ShortToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.map.primitive.MutableShortValuesMapcollect in interface org.eclipse.collections.api.ShortIterablepublic long sum()
sum in interface org.eclipse.collections.api.ShortIterablepublic short max()
max in interface org.eclipse.collections.api.ShortIterablepublic short maxIfEmpty(short defaultValue)
maxIfEmpty in interface org.eclipse.collections.api.ShortIterablepublic short min()
min in interface org.eclipse.collections.api.ShortIterablepublic short minIfEmpty(short defaultValue)
minIfEmpty in interface org.eclipse.collections.api.ShortIterablepublic double average()
average in interface org.eclipse.collections.api.ShortIterablepublic double median()
median in interface org.eclipse.collections.api.ShortIterablepublic short addToValue(double key,
short toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableDoubleShortMappublic short[] toSortedArray()
toSortedArray in interface org.eclipse.collections.api.ShortIterablepublic org.eclipse.collections.api.list.primitive.MutableShortList toSortedList()
toSortedList in interface org.eclipse.collections.api.ShortIterablepublic short[] toArray()
toArray in interface org.eclipse.collections.api.ShortIterablepublic boolean contains(short value)
contains in interface org.eclipse.collections.api.ShortIterablepublic boolean containsAll(short... source)
containsAll in interface org.eclipse.collections.api.ShortIterablepublic boolean containsAll(org.eclipse.collections.api.ShortIterable source)
containsAll in interface org.eclipse.collections.api.ShortIterablepublic org.eclipse.collections.api.list.primitive.MutableShortList toList()
toList in interface org.eclipse.collections.api.ShortIterablepublic org.eclipse.collections.api.set.primitive.MutableShortSet toSet()
toSet in interface org.eclipse.collections.api.ShortIterablepublic org.eclipse.collections.api.bag.primitive.MutableShortBag toBag()
toBag in interface org.eclipse.collections.api.ShortIterablepublic org.eclipse.collections.api.LazyShortIterable asLazy()
asLazy in interface org.eclipse.collections.api.ShortIterablepublic org.eclipse.collections.api.map.primitive.MutableDoubleShortMap withKeyValue(double key,
short value)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableDoubleShortMappublic org.eclipse.collections.api.map.primitive.MutableDoubleShortMap withoutKey(double key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableDoubleShortMappublic org.eclipse.collections.api.map.primitive.MutableDoubleShortMap withoutAllKeys(org.eclipse.collections.api.DoubleIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableDoubleShortMappublic org.eclipse.collections.api.map.primitive.MutableDoubleShortMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableDoubleShortMappublic org.eclipse.collections.api.map.primitive.MutableDoubleShortMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableDoubleShortMappublic org.eclipse.collections.api.map.primitive.ImmutableDoubleShortMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.DoubleShortMappublic 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.MutableDoubleSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.DoubleShortMappublic org.eclipse.collections.api.collection.primitive.MutableShortCollection values()
values in interface org.eclipse.collections.api.map.primitive.ShortValuesMappublic 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.ObjectShortToObjectFunction<? super T,? extends T> function)
injectInto in interface org.eclipse.collections.api.ShortIterableCopyright © 2004–2018. All rights reserved.