@Deprecated public final class ConcurrentMutableHashMap<K,V> extends AbstractMutableMap<K,V> implements org.eclipse.collections.api.map.ConcurrentMutableMap<K,V>, Serializable
ConcurrentHashMap,
Serialized Form| Constructor and Description |
|---|
ConcurrentMutableHashMap(ConcurrentMap<K,V> delegate)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Deprecated.
|
org.eclipse.collections.api.map.MutableMap<K,V> |
clone()
Deprecated.
|
<E> org.eclipse.collections.api.map.MutableMap<K,V> |
collectKeysAndValues(Iterable<E> iterable,
org.eclipse.collections.api.block.function.Function<? super E,? extends K> keyFunction,
org.eclipse.collections.api.block.function.Function<? super E,? extends V> valueFunction)
Deprecated.
|
boolean |
containsKey(Object key)
Deprecated.
|
boolean |
containsValue(Object value)
Deprecated.
|
Set<Map.Entry<K,V>> |
entrySet()
Deprecated.
|
boolean |
equals(Object o)
Deprecated.
|
void |
forEachKey(org.eclipse.collections.api.block.procedure.Procedure<? super K> procedure)
Deprecated.
|
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.Procedure2<? super K,? super V> procedure)
Deprecated.
|
void |
forEachValue(org.eclipse.collections.api.block.procedure.Procedure<? super V> procedure)
Deprecated.
|
<P> void |
forEachWith(org.eclipse.collections.api.block.procedure.Procedure2<? super V,? super P> procedure,
P parameter)
Deprecated.
|
void |
forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure<? super V> objectIntProcedure)
Deprecated.
|
V |
get(Object key)
Deprecated.
|
V |
getIfAbsent(K key,
org.eclipse.collections.api.block.function.Function0<? extends V> function)
Deprecated.
|
V |
getIfAbsentPut(K key,
org.eclipse.collections.api.block.function.Function<? super K,? extends V> factory)
Deprecated.
|
V |
getIfAbsentPut(K key,
org.eclipse.collections.api.block.function.Function0<? extends V> function)
Deprecated.
|
V |
getIfAbsentPut(K key,
V value)
Deprecated.
|
<P> V |
getIfAbsentPutWith(K key,
org.eclipse.collections.api.block.function.Function<? super P,? extends V> function,
P parameter)
Deprecated.
|
V |
getIfAbsentValue(K key,
V value)
Deprecated.
|
<P> V |
getIfAbsentWith(K key,
org.eclipse.collections.api.block.function.Function<? super P,? extends V> function,
P parameter)
Deprecated.
|
int |
hashCode()
Deprecated.
|
<A> A |
ifPresentApply(K key,
org.eclipse.collections.api.block.function.Function<? super V,? extends A> function)
Deprecated.
|
boolean |
isEmpty()
Deprecated.
|
Iterator<V> |
iterator()
Deprecated.
|
Set<K> |
keySet()
Deprecated.
|
org.eclipse.collections.api.map.MutableMap<K,V> |
newEmpty()
Deprecated.
|
<K,V> org.eclipse.collections.api.map.MutableMap<K,V> |
newEmpty(int capacity)
Deprecated.
Creates a new instance of the same type, using the given capacity and the default growth parameters.
|
static <NK,NV> ConcurrentMutableHashMap<NK,NV> |
newMap()
Deprecated.
|
static <NK,NV> ConcurrentMutableHashMap<NK,NV> |
newMap(int initialCapacity)
Deprecated.
|
static <NK,NV> ConcurrentMutableHashMap<NK,NV> |
newMap(int initialCapacity,
float loadFactor,
int concurrencyLevel)
Deprecated.
|
static <NK,NV> ConcurrentMutableHashMap<NK,NV> |
newMap(Map<NK,NV> map)
Deprecated.
|
boolean |
notEmpty()
Deprecated.
|
V |
put(K key,
V value)
Deprecated.
|
void |
putAll(Map<? extends K,? extends V> map)
Deprecated.
|
V |
putIfAbsent(K key,
V value)
Deprecated.
|
V |
remove(Object key)
Deprecated.
|
boolean |
remove(Object key,
Object value)
Deprecated.
|
V |
removeKey(K key)
Deprecated.
|
V |
replace(K key,
V value)
Deprecated.
|
boolean |
replace(K key,
V oldValue,
V newValue)
Deprecated.
|
int |
size()
Deprecated.
|
org.eclipse.collections.api.map.ImmutableMap<K,V> |
toImmutable()
Deprecated.
|
String |
toString()
Deprecated.
Returns a string representation of this collection.
|
V |
updateValue(K key,
org.eclipse.collections.api.block.function.Function0<? extends V> factory,
org.eclipse.collections.api.block.function.Function<? super V,? extends V> function)
Deprecated.
|
<P> V |
updateValueWith(K key,
org.eclipse.collections.api.block.function.Function0<? extends V> factory,
org.eclipse.collections.api.block.function.Function2<? super V,? super P,? extends V> function,
P parameter)
Deprecated.
|
Collection<V> |
values()
Deprecated.
|
ConcurrentMutableHashMap<K,V> |
withAllKeyValueArguments(org.eclipse.collections.api.tuple.Pair<? extends K,? extends V>... keyValues)
Deprecated.
|
ConcurrentMutableHashMap<K,V> |
withAllKeyValues(Iterable<? extends org.eclipse.collections.api.tuple.Pair<? extends K,? extends V>> keyValues)
Deprecated.
|
ConcurrentMutableHashMap<K,V> |
withKeyValue(K key,
V value)
Deprecated.
|
ConcurrentMutableHashMap<K,V> |
withoutAllKeys(Iterable<? extends K> keys)
Deprecated.
|
ConcurrentMutableHashMap<K,V> |
withoutKey(K key)
Deprecated.
|
asSynchronized, asUnmodifiable, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectValues, collectWith, flatCollect, flip, groupBy, groupByEach, partition, partitionWith, reject, reject, rejectWith, select, select, selectInstancesOf, selectWith, tap, zip, zipWithIndexadd, aggregateBy, aggregateInPlaceBy, collect, detect, flipUniqueValues, getIfAbsentPutWithKey, groupByUniqueKey, keysView, keyValuesView, valuesViewallSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, asLazy, chunk, contains, detect, detectIfNone, detectWith, detectWithIfNone, each, getFirst, getLast, noneSatisfy, noneSatisfyWith, toArray, toArrayappendString, appendString, appendString, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, containsAll, containsAllArguments, containsAllIterable, count, countWith, flatCollect, forEach, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, reject, rejectWith, select, selectWith, sumByDouble, sumByFloat, sumByInt, sumByLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, zip, zipWithIndexaggregateBy, aggregateInPlaceBy, asSynchronized, asUnmodifiable, collect, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectValues, collectWith, flatCollect, flip, flipUniqueValues, groupBy, groupByEach, groupByUniqueKey, partition, partitionWith, reject, reject, rejectWith, select, select, selectInstancesOf, selectWith, tap, zip, zipWithIndexadd, getIfAbsentPutWithKeycompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAlldetect, keysView, keyValuesView, valuesViewallSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countWith, detect, detectIfNone, detectWith, detectWithIfNone, each, flatCollect, getFirst, getLast, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, reject, rejectWith, select, selectWith, sumByDouble, sumByFloat, sumByInt, sumByLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, zip, zipWithIndexforEach, spliteratorcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAllpublic ConcurrentMutableHashMap(ConcurrentMap<K,V> delegate)
public static <NK,NV> ConcurrentMutableHashMap<NK,NV> newMap()
public static <NK,NV> ConcurrentMutableHashMap<NK,NV> newMap(int initialCapacity)
public static <NK,NV> ConcurrentMutableHashMap<NK,NV> newMap(int initialCapacity, float loadFactor, int concurrencyLevel)
public static <NK,NV> ConcurrentMutableHashMap<NK,NV> newMap(Map<NK,NV> map)
public ConcurrentMutableHashMap<K,V> withKeyValue(K key, V value)
withKeyValue in interface org.eclipse.collections.api.map.MutableMap<K,V>withKeyValue in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>withKeyValue in class AbstractMutableMap<K,V>public ConcurrentMutableHashMap<K,V> withAllKeyValues(Iterable<? extends org.eclipse.collections.api.tuple.Pair<? extends K,? extends V>> keyValues)
withAllKeyValues in interface org.eclipse.collections.api.map.MutableMap<K,V>withAllKeyValues in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>withAllKeyValues in class AbstractMutableMap<K,V>public ConcurrentMutableHashMap<K,V> withAllKeyValueArguments(org.eclipse.collections.api.tuple.Pair<? extends K,? extends V>... keyValues)
withAllKeyValueArguments in interface org.eclipse.collections.api.map.MutableMap<K,V>withAllKeyValueArguments in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>withAllKeyValueArguments in class AbstractMutableMap<K,V>public ConcurrentMutableHashMap<K,V> withoutKey(K key)
withoutKey in interface org.eclipse.collections.api.map.MutableMap<K,V>withoutKey in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>withoutKey in class AbstractMutableMap<K,V>public ConcurrentMutableHashMap<K,V> withoutAllKeys(Iterable<? extends K> keys)
withoutAllKeys in interface org.eclipse.collections.api.map.MutableMap<K,V>withoutAllKeys in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>withoutAllKeys in class AbstractMutableMap<K,V>public String toString()
AbstractRichIterable
This implementation creates an empty string buffer, appends a left square bracket, and iterates over the collection appending the string representation of each element in turn. After appending each element except the last, the string ", " is appended. Finally a right bracket is appended. A string is obtained from the string buffer, and returned.
public <K,V> org.eclipse.collections.api.map.MutableMap<K,V> newEmpty(int capacity)
AbstractMutableMapnewEmpty in class AbstractMutableMap<K,V>public boolean notEmpty()
notEmpty in interface org.eclipse.collections.api.RichIterable<V>notEmpty in class AbstractRichIterable<V>public void forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure<? super V> objectIntProcedure)
forEachWithIndex in interface org.eclipse.collections.api.InternalIterable<V>forEachWithIndex in class AbstractMapIterable<K,V>public int size()
public boolean isEmpty()
public void forEachValue(org.eclipse.collections.api.block.procedure.Procedure<? super V> procedure)
forEachValue in interface org.eclipse.collections.api.map.MapIterable<K,V>forEachValue in class AbstractMapIterable<K,V>public void forEachKey(org.eclipse.collections.api.block.procedure.Procedure<? super K> procedure)
forEachKey in interface org.eclipse.collections.api.map.MapIterable<K,V>forEachKey in class AbstractMapIterable<K,V>public void forEachKeyValue(org.eclipse.collections.api.block.procedure.Procedure2<? super K,? super V> procedure)
public <E> org.eclipse.collections.api.map.MutableMap<K,V> collectKeysAndValues(Iterable<E> iterable, org.eclipse.collections.api.block.function.Function<? super E,? extends K> keyFunction, org.eclipse.collections.api.block.function.Function<? super E,? extends V> valueFunction)
public boolean containsKey(Object key)
public boolean containsValue(Object value)
public V getIfAbsentPut(K key, org.eclipse.collections.api.block.function.Function0<? extends V> function)
getIfAbsentPut in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>getIfAbsentPut in class AbstractMutableMapIterable<K,V>public V getIfAbsentPut(K key, V value)
getIfAbsentPut in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>getIfAbsentPut in class AbstractMutableMapIterable<K,V>public <P> V getIfAbsentPutWith(K key, org.eclipse.collections.api.block.function.Function<? super P,? extends V> function, P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>getIfAbsentPutWith in class AbstractMutableMapIterable<K,V>public V getIfAbsent(K key, org.eclipse.collections.api.block.function.Function0<? extends V> function)
getIfAbsent in interface org.eclipse.collections.api.map.MapIterable<K,V>getIfAbsent in class AbstractMapIterable<K,V>public V getIfAbsentValue(K key, V value)
getIfAbsentValue in interface org.eclipse.collections.api.map.MapIterable<K,V>getIfAbsentValue in class AbstractMapIterable<K,V>public <P> V getIfAbsentWith(K key, org.eclipse.collections.api.block.function.Function<? super P,? extends V> function, P parameter)
getIfAbsentWith in interface org.eclipse.collections.api.map.MapIterable<K,V>getIfAbsentWith in class AbstractMapIterable<K,V>public V getIfAbsentPut(K key, org.eclipse.collections.api.block.function.Function<? super K,? extends V> factory)
public <A> A ifPresentApply(K key, org.eclipse.collections.api.block.function.Function<? super V,? extends A> function)
ifPresentApply in interface org.eclipse.collections.api.map.MapIterable<K,V>ifPresentApply in class AbstractMapIterable<K,V>public boolean equals(Object o)
public int hashCode()
public <P> void forEachWith(org.eclipse.collections.api.block.procedure.Procedure2<? super V,? super P> procedure, P parameter)
forEachWith in interface org.eclipse.collections.api.InternalIterable<V>forEachWith in class AbstractMapIterable<K,V>public V putIfAbsent(K key, V value)
putIfAbsent in interface ConcurrentMap<K,V>putIfAbsent in interface Map<K,V>public V updateValue(K key, org.eclipse.collections.api.block.function.Function0<? extends V> factory, org.eclipse.collections.api.block.function.Function<? super V,? extends V> function)
updateValue in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>updateValue in class AbstractMutableMapIterable<K,V>public <P> V updateValueWith(K key, org.eclipse.collections.api.block.function.Function0<? extends V> factory, org.eclipse.collections.api.block.function.Function2<? super V,? super P,? extends V> function, P parameter)
updateValueWith in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>updateValueWith in class AbstractMutableMapIterable<K,V>public org.eclipse.collections.api.map.ImmutableMap<K,V> toImmutable()
toImmutable in interface org.eclipse.collections.api.map.MapIterable<K,V>toImmutable in interface org.eclipse.collections.api.map.MutableMapIterable<K,V>toImmutable in interface org.eclipse.collections.api.map.UnsortedMapIterable<K,V>toImmutable in class AbstractMutableMap<K,V>Copyright © 2004–2017. All rights reserved.