public class SynchronizedSetMultimap<K,V> extends AbstractSynchronizedMultimap<K,V> implements MutableSetMultimap<K,V>, Serializable
| Constructor and Description |
|---|
SynchronizedSetMultimap(MutableSetMultimap<K,V> multimap) |
SynchronizedSetMultimap(MutableSetMultimap<K,V> multimap,
Object newLock) |
add, clear, collectKeyMultiValues, collectKeysValues, collectValues, containsKey, containsKeyAndValue, containsValue, equals, forEachKey, forEachKeyMultiValues, forEachKeyValue, forEachValue, hashCode, isEmpty, keyBag, keyMultiValuePairsView, keySet, keysView, keyValuePairsView, multiValuesView, notEmpty, put, putAll, putAll, putAllPairs, putAllPairs, rejectKeysMultiValues, rejectKeysValues, remove, selectKeysMultiValues, selectKeysValues, size, sizeDistinct, toMap, toMap, toString, valuesViewwithKeyValueadd, 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 SynchronizedSetMultimap(MutableSetMultimap<K,V> multimap)
public SynchronizedSetMultimap(MutableSetMultimap<K,V> multimap, Object newLock)
public static <K,V> SynchronizedSetMultimap<K,V> of(MutableSetMultimap<K,V> multimap)
public MutableSetMultimap<K,V> withKeyMultiValues(K key, V... values)
withKeyMultiValues in interface MutableMultimap<K,V>withKeyMultiValues in interface MutableSetIterableMultimap<K,V>withKeyMultiValues in interface MutableSetMultimap<K,V>withKeyMultiValues in class AbstractSynchronizedMultimap<K,V>public static <K,V> SynchronizedSetMultimap<K,V> of(MutableSetMultimap<K,V> multimap, Object lock)
public void forEachKeyMutableSet(Procedure2<? super K,? super MutableSet<V>> procedure)
forEachKeyMutableSet in interface MutableSetMultimap<K,V>public MutableSet<V> replaceValues(K key, Iterable<? extends V> values)
replaceValues in interface MutableMultimap<K,V>replaceValues in interface MutableSetIterableMultimap<K,V>replaceValues in interface MutableSetMultimap<K,V>public MutableSet<V> removeAll(Object key)
removeAll in interface MutableMultimap<K,V>removeAll in interface MutableSetIterableMultimap<K,V>removeAll in interface MutableSetMultimap<K,V>public MutableSetMultimap<K,V> newEmpty()
newEmpty in interface Multimap<K,V>newEmpty in interface MutableMultimap<K,V>newEmpty in interface MutableSetIterableMultimap<K,V>newEmpty in interface MutableSetMultimap<K,V>newEmpty in interface SetMultimap<K,V>newEmpty in interface UnsortedSetMultimap<K,V>public MutableSet<V> get(K key)
get in interface Multimap<K,V>get in interface MutableMultimap<K,V>get in interface MutableSetIterableMultimap<K,V>get in interface MutableSetMultimap<K,V>get in interface SetMultimap<K,V>get in interface UnsortedSetMultimap<K,V>public MutableSet<V> getIfAbsentPutAll(K key, Iterable<? extends V> values)
getIfAbsentPutAll in interface MutableMultimap<K,V>getIfAbsentPutAll in interface MutableSetIterableMultimap<K,V>getIfAbsentPutAll in interface MutableSetMultimap<K,V>public MutableSetMultimap<K,V> toMutable()
public ImmutableSetMultimap<K,V> toImmutable()
toImmutable in interface Multimap<K,V>toImmutable in interface UnsortedSetMultimap<K,V>public MutableSetMultimap<V,K> flip()
flip in interface Multimap<K,V>flip in interface MutableMultimap<K,V>flip in interface MutableSetIterableMultimap<K,V>flip in interface MutableSetMultimap<K,V>flip in interface SetMultimap<K,V>public MutableSetMultimap<K,V> selectKeysValues(Predicate2<? super K,? super V> predicate)
selectKeysValues in interface Multimap<K,V>selectKeysValues in interface MutableMultimap<K,V>selectKeysValues in interface MutableSetIterableMultimap<K,V>selectKeysValues in interface MutableSetMultimap<K,V>selectKeysValues in interface SetMultimap<K,V>selectKeysValues in interface UnsortedSetMultimap<K,V>public MutableSetMultimap<K,V> rejectKeysValues(Predicate2<? super K,? super V> predicate)
rejectKeysValues in interface Multimap<K,V>rejectKeysValues in interface MutableMultimap<K,V>rejectKeysValues in interface MutableSetIterableMultimap<K,V>rejectKeysValues in interface MutableSetMultimap<K,V>rejectKeysValues in interface SetMultimap<K,V>rejectKeysValues in interface UnsortedSetMultimap<K,V>public MutableSetMultimap<K,V> selectKeysMultiValues(Predicate2<? super K,? super RichIterable<V>> predicate)
selectKeysMultiValues in interface Multimap<K,V>selectKeysMultiValues in interface MutableMultimap<K,V>selectKeysMultiValues in interface MutableSetIterableMultimap<K,V>selectKeysMultiValues in interface MutableSetMultimap<K,V>selectKeysMultiValues in interface SetMultimap<K,V>selectKeysMultiValues in interface UnsortedSetMultimap<K,V>public MutableSetMultimap<K,V> rejectKeysMultiValues(Predicate2<? super K,? super RichIterable<V>> predicate)
rejectKeysMultiValues in interface Multimap<K,V>rejectKeysMultiValues in interface MutableMultimap<K,V>rejectKeysMultiValues in interface MutableSetIterableMultimap<K,V>rejectKeysMultiValues in interface MutableSetMultimap<K,V>rejectKeysMultiValues in interface SetMultimap<K,V>rejectKeysMultiValues in interface UnsortedSetMultimap<K,V>public <K2,V2> MutableBagMultimap<K2,V2> collectKeysValues(Function2<? super K,? super V,Pair<K2,V2>> function)
collectKeysValues in interface Multimap<K,V>collectKeysValues in interface MutableMultimap<K,V>collectKeysValues in interface MutableSetIterableMultimap<K,V>collectKeysValues in interface MutableSetMultimap<K,V>collectKeysValues in interface UnsortedSetMultimap<K,V>public <K2,V2> MutableBagMultimap<K2,V2> collectKeyMultiValues(Function<? super K,? extends K2> keyFunction, Function<? super V,? extends V2> valueFunction)
collectKeyMultiValues in interface Multimap<K,V>collectKeyMultiValues in interface MutableMultimap<K,V>collectKeyMultiValues in interface MutableSetIterableMultimap<K,V>collectKeyMultiValues in interface MutableSetMultimap<K,V>collectKeyMultiValues in interface UnsortedSetMultimap<K,V>public <V2> MutableBagMultimap<K,V2> collectValues(Function<? super V,? extends V2> function)
collectValues in interface Multimap<K,V>collectValues in interface MutableMultimap<K,V>collectValues in interface MutableSetIterableMultimap<K,V>collectValues in interface MutableSetMultimap<K,V>collectValues in interface UnsortedSetMultimap<K,V>public MutableSetMultimap<K,V> asSynchronized()
asSynchronized in interface MutableMultimap<K,V>asSynchronized in interface MutableSetIterableMultimap<K,V>asSynchronized in interface MutableSetMultimap<K,V>Copyright © 2004–2022. All rights reserved.