Class AbstractMutableSetMultimap<K,V>
java.lang.Object
org.eclipse.collections.impl.multimap.AbstractMultimap<K,V,C>
org.eclipse.collections.impl.multimap.AbstractMutableMultimap<K,V,MutableSet<V>>
org.eclipse.collections.impl.multimap.set.AbstractMutableSetMultimap<K,V>
- All Implemented Interfaces:
Multimap<K,,V> MutableMultimap<K,,V> MutableSetIterableMultimap<K,,V> MutableSetMultimap<K,,V> SetMultimap<K,,V> UnsortedSetMultimap<K,V>
- Direct Known Subclasses:
MultiReaderUnifiedSetMultimap,UnifiedSetMultimap,UnifiedSetWithHashingStrategyMultimap
public abstract class AbstractMutableSetMultimap<K,V>
extends AbstractMutableMultimap<K,V,MutableSet<V>>
implements MutableSetMultimap<K,V>
-
Method Summary
Modifier and TypeMethodDescription<K2,V2> MutableBagMultimap<K2, V2> collectKeyMultiValues(Function<? super K, ? extends K2> keyFunction, Function<? super V, ? extends V2> valueFunction) <K2,V2> MutableBagMultimap<K2, V2> collectKeysValues(Function2<? super K, ? super V, Pair<K2, V2>> function) <V2> MutableBagMultimap<K,V2> collectValues(Function<? super V, ? extends V2> function) voidforEachKeyMutableSet(Procedure2<? super K, ? super MutableSet<V>> procedure) Methods inherited from class org.eclipse.collections.impl.multimap.AbstractMutableMultimap
clear, get, getIfAbsentPutAll, isEmpty, keySet, put, putAll, putAll, readExternal, remove, removeAll, replaceValues, size, sizeDistinct, toMap, toMap, writeExternalMethods inherited from class org.eclipse.collections.impl.multimap.AbstractMultimap
collectKeyMultiValues, collectKeysValues, collectValues, containsKey, containsKeyAndValue, containsValue, equals, forEachKey, forEachKeyMultiValues, forEachKeyValue, forEachValue, hashCode, keyBag, keyMultiValuePairsView, keysView, keyValuePairsView, multiValuesView, notEmpty, rejectKeysMultiValues, rejectKeysValues, selectKeysMultiValues, selectKeysValues, toString, valuesViewMethods inherited from interface org.eclipse.collections.api.multimap.Multimap
collectKeyMultiValues, collectKeysValues, collectValues, containsKey, containsKeyAndValue, containsValue, equals, forEachKey, forEachKeyMultiValues, forEachKeyValue, forEachValue, hashCode, isEmpty, keyBag, keyMultiValuePairsView, keySet, keysView, keyValuePairsView, multiValuesView, notEmpty, rejectKeysMultiValues, rejectKeysValues, selectKeysMultiValues, selectKeysValues, size, sizeDistinct, toMap, toMap, valuesViewMethods inherited from interface org.eclipse.collections.api.multimap.MutableMultimap
add, clear, flip, newEmpty, put, putAll, putAll, putAllPairs, putAllPairs, rejectKeysMultiValues, rejectKeysValues, remove, selectKeysMultiValues, selectKeysValuesMethods inherited from interface org.eclipse.collections.api.multimap.set.MutableSetMultimap
flip, get, getIfAbsentPutAll, newEmpty, rejectKeysMultiValues, rejectKeysValues, removeAll, replaceValues, selectKeysMultiValues, selectKeysValues, withKeyMultiValues, withKeyValue
-
Method Details
-
toMutable
-
toImmutable
- Specified by:
toImmutablein interfaceMultimap<K,V> - Specified by:
toImmutablein interfaceUnsortedSetMultimap<K,V>
-
forEachKeyMutableSet
- Specified by:
forEachKeyMutableSetin interfaceMutableSetMultimap<K,V>
-
collectKeysValues
public <K2,V2> MutableBagMultimap<K2,V2> collectKeysValues(Function2<? super K, ? super V, Pair<K2, V2>> function) - Specified by:
collectKeysValuesin interfaceMultimap<K,V> - Specified by:
collectKeysValuesin interfaceMutableMultimap<K,V> - Specified by:
collectKeysValuesin interfaceMutableSetIterableMultimap<K,V> - Specified by:
collectKeysValuesin interfaceMutableSetMultimap<K,V> - Specified by:
collectKeysValuesin interfaceUnsortedSetMultimap<K,V>
-
collectKeyMultiValues
public <K2,V2> MutableBagMultimap<K2,V2> collectKeyMultiValues(Function<? super K, ? extends K2> keyFunction, Function<? super V, ? extends V2> valueFunction) - Specified by:
collectKeyMultiValuesin interfaceMultimap<K,V> - Specified by:
collectKeyMultiValuesin interfaceMutableMultimap<K,V> - Specified by:
collectKeyMultiValuesin interfaceMutableSetIterableMultimap<K,V> - Specified by:
collectKeyMultiValuesin interfaceMutableSetMultimap<K,V> - Specified by:
collectKeyMultiValuesin interfaceUnsortedSetMultimap<K,V>
-
collectValues
- Specified by:
collectValuesin interfaceMultimap<K,V> - Specified by:
collectValuesin interfaceMutableMultimap<K,V> - Specified by:
collectValuesin interfaceMutableSetIterableMultimap<K,V> - Specified by:
collectValuesin interfaceMutableSetMultimap<K,V> - Specified by:
collectValuesin interfaceUnsortedSetMultimap<K,V>
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableMultimap<K,V> - Specified by:
asSynchronizedin interfaceMutableSetIterableMultimap<K,V> - Specified by:
asSynchronizedin interfaceMutableSetMultimap<K,V>
-