public abstract class AbstractMutableBagMultimap<K,V> extends AbstractMutableMultimap<K,V,MutableBag<V>> implements MutableBagMultimap<K,V>
| Modifier and Type | Method and Description |
|---|---|
MutableBagMultimap<K,V> |
asSynchronized() |
<K2,V2> HashBagMultimap<K2,V2> |
collectKeyMultiValues(Function<? super K,? extends K2> keyFunction,
Function<? super V,? extends V2> valueFunction) |
<K2,V2> HashBagMultimap<K2,V2> |
collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function) |
void |
forEachKeyMutableBag(Procedure2<? super K,? super MutableBag<V>> procedure) |
void |
putOccurrences(K key,
V value,
int occurrences) |
void |
readExternal(ObjectInput in) |
ImmutableBagMultimap<K,V> |
toImmutable() |
MutableBagMultimap<K,V> |
toMutable() |
void |
writeExternal(ObjectOutput out) |
clear, get, getIfAbsentPutAll, isEmpty, keySet, put, putAll, putAll, remove, removeAll, replaceValues, size, sizeDistinct, toMap, toMapcollectKeyMultiValues, collectKeysValues, collectValues, containsKey, containsKeyAndValue, containsValue, equals, forEachKey, forEachKeyMultiValues, forEachKeyValue, forEachValue, hashCode, keyBag, keyMultiValuePairsView, keysView, keyValuePairsView, multiValuesView, notEmpty, rejectKeysMultiValues, rejectKeysValues, selectKeysMultiValues, selectKeysValues, toString, valuesViewcollectValues, flip, get, getIfAbsentPutAll, newEmpty, rejectKeysMultiValues, rejectKeysValues, removeAll, replaceValues, selectKeysMultiValues, selectKeysValues, withKeyMultiValues, withKeyValueadd, clear, put, putAll, putAll, putAllPairs, putAllPairs, removecollectKeyMultiValues, 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, valuesViewpublic MutableBagMultimap<K,V> toMutable()
public ImmutableBagMultimap<K,V> toImmutable()
toImmutable in interface UnsortedBagMultimap<K,V>toImmutable in interface Multimap<K,V>public <K2,V2> HashBagMultimap<K2,V2> collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
collectKeysValues in interface MutableBagIterableMultimap<K,V>collectKeysValues in interface MutableBagMultimap<K,V>collectKeysValues in interface UnsortedBagMultimap<K,V>collectKeysValues in interface Multimap<K,V>collectKeysValues in interface MutableMultimap<K,V>public <K2,V2> HashBagMultimap<K2,V2> collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
collectKeyMultiValues in interface MutableBagIterableMultimap<K,V>collectKeyMultiValues in interface MutableBagMultimap<K,V>collectKeyMultiValues in interface UnsortedBagMultimap<K,V>collectKeyMultiValues in interface Multimap<K,V>collectKeyMultiValues in interface MutableMultimap<K,V>public void writeExternal(ObjectOutput out) throws IOException
writeExternal in class AbstractMutableMultimap<K,V,MutableBag<V>>IOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in class AbstractMutableMultimap<K,V,MutableBag<V>>IOExceptionClassNotFoundExceptionpublic void forEachKeyMutableBag(Procedure2<? super K,? super MutableBag<V>> procedure)
forEachKeyMutableBag in interface MutableBagMultimap<K,V>public void putOccurrences(K key, V value, int occurrences)
putOccurrences in interface MutableBagMultimap<K,V>public MutableBagMultimap<K,V> asSynchronized()
asSynchronized in interface MutableBagIterableMultimap<K,V>asSynchronized in interface MutableBagMultimap<K,V>asSynchronized in interface MutableMultimap<K,V>Copyright © 2004–2022. All rights reserved.