Uses of Class
com.google.common.collect.HashMultimap
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of HashMultimap in com.google.common.collect
Modifier and TypeMethodDescriptionstatic <K extends @Nullable Object,
V extends @Nullable Object>
HashMultimap<K, V> HashMultimap.create()
Creates a new, emptyHashMultimap
with the default initial capacities.static <K extends @Nullable Object,
V extends @Nullable Object>
HashMultimap<K, V> HashMultimap.create
(int expectedKeys, int expectedValuesPerKey) Constructs an emptyHashMultimap
with enough capacity to hold the specified numbers of keys and values without rehashing.static <K extends @Nullable Object,
V extends @Nullable Object>
HashMultimap<K, V> Constructs aHashMultimap
with the same mappings as the specified multimap.