K - the key typeV - the value typepublic class HashMultimap<K,V> extends AbstractMultimap<K,V>
AbstractMultimap.EntriesCollection, AbstractMultimap.EntryIterator, AbstractMultimap.ValueIterator, AbstractMultimap.ValuesCollection, AbstractMultimap.WrappedCollection, AbstractMultimap.WrappedKeySet, AbstractMultimap.WrappedList, AbstractMultimap.WrappedMap, AbstractMultimap.WrappedSortedKeySet| Modifier | Constructor and Description |
|---|---|
protected |
HashMultimap() |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> HashMultimap<K,V> |
create()
Creates a new, empty
LinkedHashMultimap (that allows no duplicates) with the default initial capacity. |
protected Collection<V> |
createCollection() |
protected Collection<V> |
createUnmodifiableEmptyCollection() |
asMap, clear, containsEntry, containsKey, containsValue, createEntryIterator, createUnmodifiable, entries, equals, get, getOrCreateCollection, hashCode, isEmpty, keySet, put, rawData, remove, removeAll, removeAllValuesForKey, size, toString, values, wrapCollection, wrapKeySet, wrapList, wrapMappublic static <K,V> HashMultimap<K,V> create()
LinkedHashMultimap (that allows no duplicates) with the default initial capacity.K - the key typeV - the value typeprotected Collection<V> createCollection()
createCollection in class AbstractMultimap<K,V>AbstractMultimap.createCollection()protected Collection<V> createUnmodifiableEmptyCollection()
createUnmodifiableEmptyCollection in class AbstractMultimap<K,V>AbstractMultimap.createUnmodifiableEmptyCollection()Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.