public final class SynchronizedDoubleLongMap extends Object implements org.eclipse.collections.api.map.primitive.MutableDoubleLongMap, Serializable
MutableDoubleLongMap. It is imperative that the user manually synchronize on the collection when iterating over it using the
MutableLongIterator as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitivePrimitiveMap.stg.
MutableDoubleLongMap.asSynchronized(),
MutableMap.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
long |
addToValue(double key,
long toBeAdded) |
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.primitive.LongPredicate 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.LazyLongIterable |
asLazy() |
org.eclipse.collections.api.map.primitive.MutableDoubleLongMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableDoubleLongMap |
asUnmodifiable() |
double |
average() |
void |
clear() |
<V> org.eclipse.collections.api.collection.MutableCollection<V> |
collect(org.eclipse.collections.api.block.function.primitive.LongToObjectFunction<? extends V> function) |
boolean |
contains(long value) |
boolean |
containsAll(long... source) |
boolean |
containsAll(org.eclipse.collections.api.LongIterable source) |
boolean |
containsKey(double key) |
boolean |
containsValue(long value) |
int |
count(org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate) |
long |
detectIfNone(org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate,
long ifNone) |
void |
each(org.eclipse.collections.api.block.procedure.primitive.LongProcedure procedure) |
boolean |
equals(Object otherMap) |
void |
forEach(org.eclipse.collections.api.block.procedure.primitive.LongProcedure procedure) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.DoubleLongProcedure procedure) |
void |
forEachValue(org.eclipse.collections.api.block.procedure.primitive.LongProcedure procedure) |
long |
get(double key) |
long |
getIfAbsent(double key,
long ifAbsent) |
long |
getIfAbsentPut(double key,
long value) |
long |
getIfAbsentPut(double key,
org.eclipse.collections.api.block.function.primitive.LongFunction0 function) |
<P> long |
getIfAbsentPutWith(double key,
org.eclipse.collections.api.block.function.primitive.LongFunction<? super P> function,
P parameter) |
long |
getIfAbsentPutWithKey(double key,
org.eclipse.collections.api.block.function.primitive.DoubleToLongFunction function) |
long |
getOrThrow(double key) |
int |
hashCode() |
<T> T |
injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectLongToObjectFunction<? 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.DoubleLongPair> |
keyValuesView() |
org.eclipse.collections.api.iterator.MutableLongIterator |
longIterator()
This must be manually synchronized by the developer.
|
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
long |
max() |
long |
maxIfEmpty(long defaultValue) |
double |
median() |
long |
min() |
long |
minIfEmpty(long defaultValue) |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate) |
boolean |
notEmpty() |
void |
put(double key,
long value) |
void |
putAll(org.eclipse.collections.api.map.primitive.DoubleLongMap map) |
org.eclipse.collections.api.map.primitive.MutableDoubleLongMap |
reject(org.eclipse.collections.api.block.predicate.primitive.DoubleLongPredicate predicate) |
org.eclipse.collections.api.collection.primitive.MutableLongCollection |
reject(org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate) |
void |
remove(double key) |
void |
removeKey(double key) |
long |
removeKeyIfAbsent(double key,
long value) |
org.eclipse.collections.api.map.primitive.MutableDoubleLongMap |
select(org.eclipse.collections.api.block.predicate.primitive.DoubleLongPredicate predicate) |
org.eclipse.collections.api.collection.primitive.MutableLongCollection |
select(org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate) |
int |
size() |
long |
sum() |
long[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableLongBag |
toBag() |
org.eclipse.collections.api.map.primitive.ImmutableDoubleLongMap |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableLongList |
toList() |
org.eclipse.collections.api.set.primitive.MutableLongSet |
toSet() |
long[] |
toSortedArray() |
org.eclipse.collections.api.list.primitive.MutableLongList |
toSortedList() |
String |
toString() |
long |
updateValue(double key,
long initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.LongToLongFunction function) |
org.eclipse.collections.api.collection.primitive.MutableLongCollection |
values() |
org.eclipse.collections.api.map.primitive.MutableDoubleLongMap |
withKeyValue(double key,
long value) |
org.eclipse.collections.api.map.primitive.MutableDoubleLongMap |
withoutAllKeys(org.eclipse.collections.api.DoubleIterable keys) |
org.eclipse.collections.api.map.primitive.MutableDoubleLongMap |
withoutKey(double key) |
public void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableLongValuesMappublic void put(double key,
long value)
put in interface org.eclipse.collections.api.map.primitive.MutableDoubleLongMappublic void putAll(org.eclipse.collections.api.map.primitive.DoubleLongMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableDoubleLongMappublic void removeKey(double key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableDoubleLongMappublic void remove(double key)
remove in interface org.eclipse.collections.api.map.primitive.MutableDoubleLongMappublic long removeKeyIfAbsent(double key,
long value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableDoubleLongMappublic long getIfAbsentPut(double key,
long value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableDoubleLongMappublic long getIfAbsentPut(double key,
org.eclipse.collections.api.block.function.primitive.LongFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableDoubleLongMappublic long getIfAbsentPutWithKey(double key,
org.eclipse.collections.api.block.function.primitive.DoubleToLongFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableDoubleLongMappublic <P> long getIfAbsentPutWith(double key,
org.eclipse.collections.api.block.function.primitive.LongFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableDoubleLongMappublic long updateValue(double key,
long initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.LongToLongFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableDoubleLongMappublic long get(double key)
get in interface org.eclipse.collections.api.map.primitive.DoubleLongMappublic long getIfAbsent(double key,
long ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.DoubleLongMappublic long getOrThrow(double key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.DoubleLongMappublic boolean containsKey(double key)
containsKey in interface org.eclipse.collections.api.map.primitive.DoubleLongMappublic boolean containsValue(long value)
containsValue in interface org.eclipse.collections.api.map.primitive.LongValuesMappublic void forEachValue(org.eclipse.collections.api.block.procedure.primitive.LongProcedure procedure)
forEachValue in interface org.eclipse.collections.api.map.primitive.LongValuesMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.DoubleProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.DoubleLongMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.DoubleLongProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.DoubleLongMappublic org.eclipse.collections.api.LazyDoubleIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.DoubleLongMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.DoubleLongPair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.DoubleLongMappublic org.eclipse.collections.api.map.primitive.MutableDoubleLongMap select(org.eclipse.collections.api.block.predicate.primitive.DoubleLongPredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.DoubleLongMapselect in interface org.eclipse.collections.api.map.primitive.MutableDoubleLongMappublic org.eclipse.collections.api.map.primitive.MutableDoubleLongMap reject(org.eclipse.collections.api.block.predicate.primitive.DoubleLongPredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.DoubleLongMapreject in interface org.eclipse.collections.api.map.primitive.MutableDoubleLongMappublic org.eclipse.collections.api.iterator.MutableLongIterator longIterator()
longIterator in interface org.eclipse.collections.api.LongIterablelongIterator in interface org.eclipse.collections.api.map.primitive.MutableLongValuesMappublic void forEach(org.eclipse.collections.api.block.procedure.primitive.LongProcedure procedure)
forEach in interface org.eclipse.collections.api.LongIterablepublic void each(org.eclipse.collections.api.block.procedure.primitive.LongProcedure procedure)
each in interface org.eclipse.collections.api.LongIterablepublic int count(org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate)
count in interface org.eclipse.collections.api.LongIterablepublic boolean anySatisfy(org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate)
anySatisfy in interface org.eclipse.collections.api.LongIterablepublic boolean allSatisfy(org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate)
allSatisfy in interface org.eclipse.collections.api.LongIterablepublic boolean noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate)
noneSatisfy in interface org.eclipse.collections.api.LongIterablepublic org.eclipse.collections.api.collection.primitive.MutableLongCollection select(org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate)
select in interface org.eclipse.collections.api.LongIterableselect in interface org.eclipse.collections.api.map.primitive.MutableLongValuesMappublic org.eclipse.collections.api.collection.primitive.MutableLongCollection reject(org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate)
reject in interface org.eclipse.collections.api.LongIterablereject in interface org.eclipse.collections.api.map.primitive.MutableLongValuesMappublic long detectIfNone(org.eclipse.collections.api.block.predicate.primitive.LongPredicate predicate,
long ifNone)
detectIfNone in interface org.eclipse.collections.api.LongIterablepublic <V> org.eclipse.collections.api.collection.MutableCollection<V> collect(org.eclipse.collections.api.block.function.primitive.LongToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.LongIterablecollect in interface org.eclipse.collections.api.map.primitive.MutableLongValuesMappublic long sum()
sum in interface org.eclipse.collections.api.LongIterablepublic long max()
max in interface org.eclipse.collections.api.LongIterablepublic long maxIfEmpty(long defaultValue)
maxIfEmpty in interface org.eclipse.collections.api.LongIterablepublic long min()
min in interface org.eclipse.collections.api.LongIterablepublic long minIfEmpty(long defaultValue)
minIfEmpty in interface org.eclipse.collections.api.LongIterablepublic double average()
average in interface org.eclipse.collections.api.LongIterablepublic double median()
median in interface org.eclipse.collections.api.LongIterablepublic long addToValue(double key,
long toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableDoubleLongMappublic long[] toSortedArray()
toSortedArray in interface org.eclipse.collections.api.LongIterablepublic org.eclipse.collections.api.list.primitive.MutableLongList toSortedList()
toSortedList in interface org.eclipse.collections.api.LongIterablepublic long[] toArray()
toArray in interface org.eclipse.collections.api.LongIterablepublic boolean contains(long value)
contains in interface org.eclipse.collections.api.LongIterablepublic boolean containsAll(long... source)
containsAll in interface org.eclipse.collections.api.LongIterablepublic boolean containsAll(org.eclipse.collections.api.LongIterable source)
containsAll in interface org.eclipse.collections.api.LongIterablepublic org.eclipse.collections.api.list.primitive.MutableLongList toList()
toList in interface org.eclipse.collections.api.LongIterablepublic org.eclipse.collections.api.set.primitive.MutableLongSet toSet()
toSet in interface org.eclipse.collections.api.LongIterablepublic org.eclipse.collections.api.bag.primitive.MutableLongBag toBag()
toBag in interface org.eclipse.collections.api.LongIterablepublic org.eclipse.collections.api.LazyLongIterable asLazy()
asLazy in interface org.eclipse.collections.api.LongIterablepublic org.eclipse.collections.api.map.primitive.MutableDoubleLongMap withKeyValue(double key,
long value)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableDoubleLongMappublic org.eclipse.collections.api.map.primitive.MutableDoubleLongMap withoutKey(double key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableDoubleLongMappublic org.eclipse.collections.api.map.primitive.MutableDoubleLongMap withoutAllKeys(org.eclipse.collections.api.DoubleIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableDoubleLongMappublic org.eclipse.collections.api.map.primitive.MutableDoubleLongMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableDoubleLongMappublic org.eclipse.collections.api.map.primitive.MutableDoubleLongMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableDoubleLongMappublic org.eclipse.collections.api.map.primitive.ImmutableDoubleLongMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.DoubleLongMappublic 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.DoubleLongMappublic org.eclipse.collections.api.collection.primitive.MutableLongCollection values()
values in interface org.eclipse.collections.api.map.primitive.LongValuesMappublic 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.ObjectLongToObjectFunction<? super T,? extends T> function)
injectInto in interface org.eclipse.collections.api.LongIterableCopyright © 2004–2017. All rights reserved.