Class SynchronizedMutableMap<K,V>
java.lang.Object
org.eclipse.collections.impl.collection.AbstractSynchronizedRichIterable<V>
org.eclipse.collections.impl.map.AbstractSynchronizedMapIterable<K,V>
org.eclipse.collections.impl.map.mutable.SynchronizedMutableMap<K,V>
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<V>,Map<K,,V> InternalIterable<V>,MapIterable<K,,V> MutableMap<K,,V> MutableMapIterable<K,,V> UnsortedMapIterable<K,,V> RichIterable<V>
public class SynchronizedMutableMap<K,V>
extends AbstractSynchronizedMapIterable<K,V>
implements MutableMap<K,V>, Serializable
A synchronized view of a
MutableMap. It is imperative that the user manually synchronize on the collection when iterating over it using the
standard JDK iterator or JDK 5 for loop, as per Collections.synchronizedCollection(Collection).- See Also:
-
Nested Class Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSynchronizedMutableMap(MutableMap<K, V> newMap) SynchronizedMutableMap(MutableMap<K, V> newMap, Object newLock) -
Method Summary
Modifier and TypeMethodDescription<K1,V1, V2> MutableMap<K1, V2> aggregateBy(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) <KK,VV> MutableMap<KK, VV> aggregateBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) <KK,VV> MutableMap<KK, VV> aggregateInPlaceBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) MutableMap<K,V> MutableMap<K,V> MutableMap<K,V> clone()<A> MutableBag<A><K2,V2> MutableMap<K2, V2> collectBoolean(BooleanFunction<? super V> booleanFunction) collectByte(ByteFunction<? super V> byteFunction) collectChar(CharFunction<? super V> charFunction) collectDouble(DoubleFunction<? super V> doubleFunction) collectFloat(FloatFunction<? super V> floatFunction) <A> MutableBag<A>collectInt(IntFunction<? super V> intFunction) <E> MutableMap<K,V> collectKeysAndValues(Iterable<E> iterable, Function<? super E, ? extends K> keyFunction, Function<? super E, ? extends V> function) <R> MutableMap<R,V> collectKeysUnique(Function2<? super K, ? super V, ? extends R> function) collectLong(LongFunction<? super V> longFunction) collectShort(ShortFunction<? super V> shortFunction) <R> MutableMap<K,R> collectValues(Function2<? super K, ? super V, ? extends R> function) <P,A> MutableBag<A> collectWith(Function2<? super V, ? super P, ? extends A> function, P parameter) entrySet()<A> MutableBag<A>flatCollect(Function<? super V, ? extends Iterable<A>> function) flip()MutableMap<V,K> <KK> MutableBagMultimap<KK,V> <KK> MutableBagMultimap<KK,V> groupByEach(Function<? super V, ? extends Iterable<KK>> function) <VV> MutableMap<VV,V> groupByUniqueKey(Function<? super V, ? extends VV> function) keySet()MutableMap<K,V> newEmpty()static <K,V, M extends Map<K, V>>
SynchronizedMutableMap<K,V> of(M map) This method will take a MutableMap and wrap it directly in a SynchronizedMutableMap.static <K,V, M extends Map<K, V>>
SynchronizedMutableMap<K,V> This method will take a MutableMap and wrap it directly in a SynchronizedMutableMap.<P> PartitionMutableBag<V>partitionWith(Predicate2<? super V, ? super P> predicate, P parameter) voidputAllMapIterable(MapIterable<? extends K, ? extends V> mapIterable) <KK> MutableMap<KK,V> reduceBy(Function<? super V, ? extends KK> groupBy, Function2<? super V, ? super V, ? extends V> reduceFunction) MutableMap<K,V> reject(Predicate2<? super K, ? super V> predicate) <P> MutableBag<V>rejectWith(Predicate2<? super V, ? super P> predicate, P parameter) MutableMap<K,V> select(Predicate2<? super K, ? super V> predicate) <S> MutableBag<S>selectInstancesOf(Class<S> clazz) <P> MutableBag<V>selectWith(Predicate2<? super V, ? super P> predicate, P parameter) MutableMap<K,V> values()MutableMap<K,V> withAllKeyValueArguments(Pair<? extends K, ? extends V>... keyValuePairs) MutableMap<K,V> withAllKeyValues(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) MutableMap<K,V> withKeyValue(K key, V value) MutableMap<K,V> MutableMap<K,V> withMapIterable(MapIterable<? extends K, ? extends V> mapIterable) MutableMap<K,V> withoutAllKeys(Iterable<? extends K> keys) MutableMap<K,V> withoutKey(K key) <S> MutableBag<Pair<V,S>> Deprecated.in 6.0.Deprecated.in 6.0.Methods inherited from class org.eclipse.collections.impl.map.AbstractSynchronizedMapIterable
add, clear, containsKey, containsValue, countBy, countByEach, countByWith, detect, detectOptional, forEachKey, forEachKeyValue, forEachValue, get, getIfAbsent, getIfAbsentPut, getIfAbsentPut, getIfAbsentPutWith, getIfAbsentPutWithKey, getIfAbsentValue, getIfAbsentWith, ifPresentApply, keysView, keyValuesView, merge, put, putAll, putPair, remove, removeAllKeys, removeIf, removeKey, sumByDouble, sumByFloat, sumByInt, sumByLong, updateValue, updateValueWith, valuesViewMethods inherited from class org.eclipse.collections.impl.collection.AbstractSynchronizedRichIterable
allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, containsAny, containsAnyIterable, containsNone, containsNoneIterable, count, countBy, countByEach, countByWith, countWith, detect, detectIfNone, detectOptional, detectWith, detectWithIfNone, detectWithOptional, each, equals, flatCollect, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, forEachWith, forEachWithIndex, getFirst, getLast, getOnly, groupBy, groupByEach, groupByUniqueKey, hashCode, injectInto, injectInto, injectInto, injectInto, injectInto, into, isEmpty, iterator, makeString, makeString, makeString, makeString, max, max, maxBy, maxByOptional, maxOptional, maxOptional, min, min, minBy, minByOptional, minOptional, minOptional, noneSatisfy, noneSatisfyWith, notEmpty, reject, rejectWith, select, selectWith, size, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toBiMap, toImmutableBag, toImmutableList, toImmutableSet, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedSet, toImmutableSortedSet, toImmutableSortedSetBy, toList, toMap, toMap, toSet, toSortedBag, toSortedBag, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toString, zip, zipWithIndexMethods inherited from interface org.eclipse.collections.api.InternalIterable
forEach, forEachWith, forEachWithIndexMethods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, equals, get, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, sizeMethods inherited from interface org.eclipse.collections.api.map.MapIterable
containsKey, containsValue, detect, detectOptional, equals, forEachKey, forEachKeyValue, forEachValue, get, getIfAbsent, getIfAbsentValue, getIfAbsentWith, hashCode, ifPresentApply, injectIntoKeyValue, keysView, keyValuesView, parallelStream, spliterator, stream, toString, valuesViewMethods inherited from interface org.eclipse.collections.api.map.MutableMap
flatCollectWithMethods inherited from interface org.eclipse.collections.api.map.MutableMapIterable
add, countBy, countByEach, countByWith, forEach, getIfAbsentPut, getIfAbsentPut, getIfAbsentPutWith, getIfAbsentPutWithKey, getOrDefault, putPair, removeAllKeys, removeIf, removeKey, sumByDouble, sumByFloat, sumByInt, sumByLong, updateValue, updateValueWithMethods inherited from interface org.eclipse.collections.api.RichIterable
aggregateBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, containsAny, containsAnyIterable, containsBy, containsNone, containsNoneIterable, count, countBy, countByEach, countByWith, countWith, detect, detectIfNone, detectOptional, detectWith, detectWithIfNone, detectWithOptional, each, flatCollect, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, flatCollectWith, forEach, getAny, getFirst, getLast, getOnly, groupBy, groupByAndCollect, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, into, isEmpty, makeString, makeString, makeString, makeString, max, max, maxBy, maxByOptional, maxOptional, maxOptional, min, min, minBy, minByOptional, minOptional, minOptional, noneSatisfy, noneSatisfyWith, notEmpty, reduce, reduceBy, reduceInPlace, reduceInPlace, reject, rejectWith, select, selectWith, size, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toBiMap, toImmutableBag, toImmutableBiMap, toImmutableList, toImmutableMap, toImmutableSet, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedListBy, toImmutableSortedSet, toImmutableSortedSet, toImmutableSortedSetBy, toList, toMap, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy, zip, zipWithIndex
-
Constructor Details
-
SynchronizedMutableMap
-
SynchronizedMutableMap
-
-
Method Details
-
of
This method will take a MutableMap and wrap it directly in a SynchronizedMutableMap. It will take any other non-Eclipse-Collections map and first adapt it will a MapAdapter, and then return a SynchronizedMutableMap that wraps the adapter. -
of
This method will take a MutableMap and wrap it directly in a SynchronizedMutableMap. It will take any other non-Eclipse-Collections map and first adapt it will a MapAdapter, and then return a SynchronizedMutableMap that wraps the adapter. Additionally, a developer specifies which lock to use with the collection. -
withKeyValue
- Specified by:
withKeyValuein interfaceMutableMap<K,V> - Specified by:
withKeyValuein interfaceMutableMapIterable<K,V>
-
withMap
- Specified by:
withMapin interfaceMutableMap<K,V> - Specified by:
withMapin interfaceMutableMapIterable<K,V>
-
withMapIterable
- Specified by:
withMapIterablein interfaceMutableMap<K,V> - Specified by:
withMapIterablein interfaceMutableMapIterable<K,V>
-
putAllMapIterable
- Specified by:
putAllMapIterablein interfaceMutableMapIterable<K,V>
-
withAllKeyValueArguments
- Specified by:
withAllKeyValueArgumentsin interfaceMutableMap<K,V> - Specified by:
withAllKeyValueArgumentsin interfaceMutableMapIterable<K,V>
-
withAllKeyValues
public MutableMap<K,V> withAllKeyValues(Iterable<? extends Pair<? extends K, ? extends V>> keyValues) - Specified by:
withAllKeyValuesin interfaceMutableMap<K,V> - Specified by:
withAllKeyValuesin interfaceMutableMapIterable<K,V>
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableMap<K,V> - Specified by:
withoutKeyin interfaceMutableMapIterable<K,V>
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableMap<K,V> - Specified by:
withoutAllKeysin interfaceMutableMapIterable<K,V>
-
newEmpty
- Specified by:
newEmptyin interfaceMutableMap<K,V> - Specified by:
newEmptyin interfaceMutableMapIterable<K,V>
-
clone
- Specified by:
clonein interfaceMutableMap<K,V>
-
collectKeysAndValues
public <E> MutableMap<K,V> collectKeysAndValues(Iterable<E> iterable, Function<? super E, ? extends K> keyFunction, Function<? super E, ? extends V> function) - Specified by:
collectKeysAndValuesin interfaceMutableMap<K,V>
-
select
- Specified by:
selectin interfaceMapIterable<K,V> - Specified by:
selectin interfaceMutableMap<K,V> - Specified by:
selectin interfaceMutableMapIterable<K,V> - Specified by:
selectin interfaceUnsortedMapIterable<K,V>
-
reject
- Specified by:
rejectin interfaceMapIterable<K,V> - Specified by:
rejectin interfaceMutableMap<K,V> - Specified by:
rejectin interfaceMutableMapIterable<K,V> - Specified by:
rejectin interfaceUnsortedMapIterable<K,V>
-
collect
- Specified by:
collectin interfaceMapIterable<K,V> - Specified by:
collectin interfaceMutableMap<K,V> - Specified by:
collectin interfaceMutableMapIterable<K,V> - Specified by:
collectin interfaceUnsortedMapIterable<K,V>
-
collectValues
- Specified by:
collectValuesin interfaceMapIterable<K,V> - Specified by:
collectValuesin interfaceMutableMap<K,V> - Specified by:
collectValuesin interfaceMutableMapIterable<K,V> - Specified by:
collectValuesin interfaceUnsortedMapIterable<K,V>
-
collectKeysUnique
- Specified by:
collectKeysUniquein interfaceMapIterable<K,V> - Specified by:
collectKeysUniquein interfaceMutableMap<K,V> - Specified by:
collectKeysUniquein interfaceMutableMapIterable<K,V>
-
tap
- Specified by:
tapin interfaceMapIterable<K,V> - Specified by:
tapin interfaceMutableMap<K,V> - Specified by:
tapin interfaceMutableMapIterable<K,V> - Specified by:
tapin interfaceRichIterable<K>- Specified by:
tapin interfaceUnsortedMapIterable<K,V> - Overrides:
tapin classAbstractSynchronizedMapIterable<K,V>
-
select
- Specified by:
selectin interfaceMutableMap<K,V> - Specified by:
selectin interfaceMutableMapIterable<K,V> - Specified by:
selectin interfaceRichIterable<K>- Specified by:
selectin interfaceUnsortedMapIterable<K,V> - Overrides:
selectin classAbstractSynchronizedMapIterable<K,V>
-
selectWith
- Specified by:
selectWithin interfaceMutableMap<K,V> - Specified by:
selectWithin interfaceMutableMapIterable<K,V> - Specified by:
selectWithin interfaceRichIterable<K>- Specified by:
selectWithin interfaceUnsortedMapIterable<K,V> - Overrides:
selectWithin classAbstractSynchronizedMapIterable<K,V>
-
reject
- Specified by:
rejectin interfaceMutableMap<K,V> - Specified by:
rejectin interfaceMutableMapIterable<K,V> - Specified by:
rejectin interfaceRichIterable<K>- Specified by:
rejectin interfaceUnsortedMapIterable<K,V> - Overrides:
rejectin classAbstractSynchronizedMapIterable<K,V>
-
rejectWith
- Specified by:
rejectWithin interfaceMutableMap<K,V> - Specified by:
rejectWithin interfaceMutableMapIterable<K,V> - Specified by:
rejectWithin interfaceRichIterable<K>- Specified by:
rejectWithin interfaceUnsortedMapIterable<K,V> - Overrides:
rejectWithin classAbstractSynchronizedMapIterable<K,V>
-
partition
- Specified by:
partitionin interfaceMutableMap<K,V> - Specified by:
partitionin interfaceMutableMapIterable<K,V> - Specified by:
partitionin interfaceRichIterable<K>- Specified by:
partitionin interfaceUnsortedMapIterable<K,V> - Overrides:
partitionin classAbstractSynchronizedMapIterable<K,V>
-
zipWithIndex
Deprecated.in 6.0. UseOrderedIterable.zipWithIndex()instead.- Specified by:
zipWithIndexin interfaceMutableMap<K,V> - Specified by:
zipWithIndexin interfaceMutableMapIterable<K,V> - Specified by:
zipWithIndexin interfaceRichIterable<K>- Specified by:
zipWithIndexin interfaceUnsortedMapIterable<K,V> - Overrides:
zipWithIndexin classAbstractSynchronizedMapIterable<K,V>
-
partitionWith
public <P> PartitionMutableBag<V> partitionWith(Predicate2<? super V, ? super P> predicate, P parameter) - Specified by:
partitionWithin interfaceMutableMap<K,V> - Specified by:
partitionWithin interfaceRichIterable<K>- Specified by:
partitionWithin interfaceUnsortedMapIterable<K,V> - Overrides:
partitionWithin classAbstractSynchronizedRichIterable<V>
-
selectInstancesOf
- Specified by:
selectInstancesOfin interfaceMutableMap<K,V> - Specified by:
selectInstancesOfin interfaceMutableMapIterable<K,V> - Specified by:
selectInstancesOfin interfaceRichIterable<K>- Specified by:
selectInstancesOfin interfaceUnsortedMapIterable<K,V> - Overrides:
selectInstancesOfin classAbstractSynchronizedMapIterable<K,V>
-
collect
- Specified by:
collectin interfaceMutableMap<K,V> - Specified by:
collectin interfaceRichIterable<K>- Specified by:
collectin interfaceUnsortedMapIterable<K,V> - Overrides:
collectin classAbstractSynchronizedRichIterable<V>
-
collectBoolean
- Specified by:
collectBooleanin interfaceMutableMap<K,V> - Specified by:
collectBooleanin interfaceRichIterable<K>- Specified by:
collectBooleanin interfaceUnsortedMapIterable<K,V> - Overrides:
collectBooleanin classAbstractSynchronizedRichIterable<V>
-
collectByte
- Specified by:
collectBytein interfaceMutableMap<K,V> - Specified by:
collectBytein interfaceRichIterable<K>- Specified by:
collectBytein interfaceUnsortedMapIterable<K,V> - Overrides:
collectBytein classAbstractSynchronizedRichIterable<V>
-
collectChar
- Specified by:
collectCharin interfaceMutableMap<K,V> - Specified by:
collectCharin interfaceRichIterable<K>- Specified by:
collectCharin interfaceUnsortedMapIterable<K,V> - Overrides:
collectCharin classAbstractSynchronizedRichIterable<V>
-
collectDouble
- Specified by:
collectDoublein interfaceMutableMap<K,V> - Specified by:
collectDoublein interfaceRichIterable<K>- Specified by:
collectDoublein interfaceUnsortedMapIterable<K,V> - Overrides:
collectDoublein classAbstractSynchronizedRichIterable<V>
-
collectFloat
- Specified by:
collectFloatin interfaceMutableMap<K,V> - Specified by:
collectFloatin interfaceRichIterable<K>- Specified by:
collectFloatin interfaceUnsortedMapIterable<K,V> - Overrides:
collectFloatin classAbstractSynchronizedRichIterable<V>
-
collectInt
- Specified by:
collectIntin interfaceMutableMap<K,V> - Specified by:
collectIntin interfaceRichIterable<K>- Specified by:
collectIntin interfaceUnsortedMapIterable<K,V> - Overrides:
collectIntin classAbstractSynchronizedRichIterable<V>
-
collectLong
- Specified by:
collectLongin interfaceMutableMap<K,V> - Specified by:
collectLongin interfaceRichIterable<K>- Specified by:
collectLongin interfaceUnsortedMapIterable<K,V> - Overrides:
collectLongin classAbstractSynchronizedRichIterable<V>
-
collectShort
- Specified by:
collectShortin interfaceMutableMap<K,V> - Specified by:
collectShortin interfaceRichIterable<K>- Specified by:
collectShortin interfaceUnsortedMapIterable<K,V> - Overrides:
collectShortin classAbstractSynchronizedRichIterable<V>
-
collectWith
public <P,A> MutableBag<A> collectWith(Function2<? super V, ? super P, ? extends A> function, P parameter) - Specified by:
collectWithin interfaceMutableMap<K,V> - Specified by:
collectWithin interfaceRichIterable<K>- Specified by:
collectWithin interfaceUnsortedMapIterable<K,V> - Overrides:
collectWithin classAbstractSynchronizedRichIterable<V>
-
collectIf
public <A> MutableBag<A> collectIf(Predicate<? super V> predicate, Function<? super V, ? extends A> function) - Specified by:
collectIfin interfaceMutableMap<K,V> - Specified by:
collectIfin interfaceRichIterable<K>- Specified by:
collectIfin interfaceUnsortedMapIterable<K,V> - Overrides:
collectIfin classAbstractSynchronizedRichIterable<V>
-
flatCollect
- Specified by:
flatCollectin interfaceMutableMap<K,V> - Specified by:
flatCollectin interfaceRichIterable<K>- Specified by:
flatCollectin interfaceUnsortedMapIterable<K,V> - Overrides:
flatCollectin classAbstractSynchronizedRichIterable<V>
-
groupBy
- Specified by:
groupByin interfaceMutableMap<K,V> - Specified by:
groupByin interfaceMutableMapIterable<K,V> - Specified by:
groupByin interfaceRichIterable<K>- Specified by:
groupByin interfaceUnsortedMapIterable<K,V> - Overrides:
groupByin classAbstractSynchronizedMapIterable<K,V>
-
groupByEach
public <KK> MutableBagMultimap<KK,V> groupByEach(Function<? super V, ? extends Iterable<KK>> function) - Specified by:
groupByEachin interfaceMutableMap<K,V> - Specified by:
groupByEachin interfaceMutableMapIterable<K,V> - Specified by:
groupByEachin interfaceRichIterable<K>- Specified by:
groupByEachin interfaceUnsortedMapIterable<K,V> - Overrides:
groupByEachin classAbstractSynchronizedMapIterable<K,V>
-
aggregateBy
public <KK,VV> MutableMap<KK,VV> aggregateBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Function2<? super VV, ? super V, ? extends VV> nonMutatingAggregator) - Specified by:
aggregateByin interfaceMutableMap<K,V> - Specified by:
aggregateByin interfaceMutableMapIterable<K,V> - Specified by:
aggregateByin interfaceRichIterable<K>- Overrides:
aggregateByin classAbstractSynchronizedMapIterable<K,V> - Since:
- 11.0
-
aggregateBy
public <K1,V1, MutableMap<K1,V2> V2> aggregateBy(Function<? super K, ? extends K1> keyFunction, Function<? super V, ? extends V1> valueFunction, Function0<? extends V2> zeroValueFactory, Function2<? super V2, ? super V1, ? extends V2> nonMutatingAggregator) - Specified by:
aggregateByin interfaceMapIterable<K,V> - Specified by:
aggregateByin interfaceMutableMap<K,V> - Specified by:
aggregateByin interfaceMutableMapIterable<K,V> - Overrides:
aggregateByin classAbstractSynchronizedMapIterable<K,V> - Since:
- 11.0
-
aggregateInPlaceBy
public <KK,VV> MutableMap<KK,VV> aggregateInPlaceBy(Function<? super V, ? extends KK> groupBy, Function0<? extends VV> zeroValueFactory, Procedure2<? super VV, ? super V> mutatingAggregator) - Specified by:
aggregateInPlaceByin interfaceMutableMap<K,V> - Specified by:
aggregateInPlaceByin interfaceMutableMapIterable<K,V> - Specified by:
aggregateInPlaceByin interfaceRichIterable<K>- Overrides:
aggregateInPlaceByin classAbstractSynchronizedMapIterable<K,V> - Since:
- 12.0
-
reduceBy
public <KK> MutableMap<KK,V> reduceBy(Function<? super V, ? extends KK> groupBy, Function2<? super V, ? super V, ? extends V> reduceFunction) - Specified by:
reduceByin interfaceMutableMap<K,V> - Specified by:
reduceByin interfaceMutableMapIterable<K,V> - Specified by:
reduceByin interfaceRichIterable<K>- Overrides:
reduceByin classAbstractSynchronizedMapIterable<K,V>
-
zip
Deprecated.in 6.0. UseOrderedIterable.zip(Iterable)instead.- Specified by:
zipin interfaceMutableMap<K,V> - Specified by:
zipin interfaceMutableMapIterable<K,V> - Specified by:
zipin interfaceRichIterable<K>- Specified by:
zipin interfaceUnsortedMapIterable<K,V> - Overrides:
zipin classAbstractSynchronizedMapIterable<K,V>
-
groupByUniqueKey
- Specified by:
groupByUniqueKeyin interfaceMutableMap<K,V> - Specified by:
groupByUniqueKeyin interfaceMutableMapIterable<K,V> - Specified by:
groupByUniqueKeyin interfaceRichIterable<K>- Specified by:
groupByUniqueKeyin interfaceUnsortedMapIterable<K,V> - Overrides:
groupByUniqueKeyin classAbstractSynchronizedMapIterable<K,V>
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceMapIterable<K,V> - Specified by:
flipUniqueValuesin interfaceMutableMap<K,V> - Specified by:
flipUniqueValuesin interfaceMutableMapIterable<K,V> - Specified by:
flipUniqueValuesin interfaceUnsortedMapIterable<K,V>
-
flip
- Specified by:
flipin interfaceMapIterable<K,V> - Specified by:
flipin interfaceMutableMap<K,V> - Specified by:
flipin interfaceMutableMapIterable<K,V> - Specified by:
flipin interfaceUnsortedMapIterable<K,V>
-
keySet
-
values
-
entrySet
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableMap<K,V> - Specified by:
asUnmodifiablein interfaceMutableMapIterable<K,V>
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableMap<K,V> - Specified by:
asSynchronizedin interfaceMutableMapIterable<K,V>
-
toImmutable
- Specified by:
toImmutablein interfaceMapIterable<K,V> - Specified by:
toImmutablein interfaceMutableMapIterable<K,V> - Specified by:
toImmutablein interfaceUnsortedMapIterable<K,V>
-