public abstract class AbstractImmutableMultimap<K,V,C extends org.eclipse.collections.api.collection.ImmutableCollection<V>> extends AbstractMultimap<K,V,C> implements org.eclipse.collections.api.multimap.ImmutableMultimap<K,V>
| Modifier and Type | Method and Description |
|---|---|
C |
get(K key) |
boolean |
isEmpty() |
org.eclipse.collections.api.multimap.ImmutableMultimap<K,V> |
newWith(K key,
V value) |
org.eclipse.collections.api.multimap.ImmutableMultimap<K,V> |
newWithAll(K key,
Iterable<? extends V> values) |
org.eclipse.collections.api.multimap.ImmutableMultimap<K,V> |
newWithout(Object key,
Object value) |
org.eclipse.collections.api.multimap.ImmutableMultimap<K,V> |
newWithoutAll(Object key) |
int |
size() |
int |
sizeDistinct() |
org.eclipse.collections.api.multimap.ImmutableMultimap<K,V> |
toImmutable() |
org.eclipse.collections.api.map.MutableMap<K,org.eclipse.collections.api.RichIterable<V>> |
toMap() |
<R extends Collection<V>> |
toMap(org.eclipse.collections.api.block.function.Function0<R> collectionFactory) |
collectKeysValues, collectValues, containsKey, containsKeyAndValue, containsValue, equals, forEachKey, forEachKeyMultiValues, forEachKeyValue, forEachValue, hashCode, keyBag, keyMultiValuePairsView, keysView, keyValuePairsView, multiValuesView, notEmpty, rejectKeysMultiValues, rejectKeysValues, selectKeysMultiValues, selectKeysValues, toString, valuesViewcollectKeysValues, collectValues, flip, newEmpty, rejectKeysMultiValues, rejectKeysValues, selectKeysMultiValues, selectKeysValuescollectKeysValues, collectValues, containsKey, containsKeyAndValue, containsValue, equals, forEachKey, forEachKeyMultiValues, forEachKeyValue, forEachValue, hashCode, keyBag, keyMultiValuePairsView, keysView, keyValuePairsView, multiValuesView, notEmpty, rejectKeysMultiValues, rejectKeysValues, selectKeysMultiValues, selectKeysValues, toMutable, valuesViewpublic int size()
public int sizeDistinct()
public boolean isEmpty()
public org.eclipse.collections.api.map.MutableMap<K,org.eclipse.collections.api.RichIterable<V>> toMap()
public <R extends Collection<V>> org.eclipse.collections.api.map.MutableMap<K,R> toMap(org.eclipse.collections.api.block.function.Function0<R> collectionFactory)
public org.eclipse.collections.api.multimap.ImmutableMultimap<K,V> newWithout(Object key, Object value)
public org.eclipse.collections.api.multimap.ImmutableMultimap<K,V> newWithAll(K key, Iterable<? extends V> values)
public org.eclipse.collections.api.multimap.ImmutableMultimap<K,V> newWithoutAll(Object key)
Copyright © 2004–2017. All rights reserved.