| Package | Description | 
|---|---|
| com.google.common.collect | This package contains generic collection interfaces and implementations, and
 other utilities for working with collections. | 
| com.google.common.net | This package contains utility methods and classes for working with net
 addresses (numeric IP and domain names). | 
| Modifier and Type | Interface and Description | 
|---|---|
| interface  | ListMultimap<K,V>A  Multimapthat can hold duplicate key-value pairs and that maintains
 the insertion ordering of values for a given key. | 
| interface  | SetMultimap<K,V>A  Multimapthat cannot hold duplicate key-value pairs. | 
| interface  | SortedSetMultimap<K,V>A  SetMultimapwhose set of values for a given key are kept sorted;
 that is, they comprise aSortedSet. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ArrayListMultimap<K,V>Implementation of  Multimapthat uses anArrayListto store
 the values for a given key. | 
| class  | ForwardingListMultimap<K,V>A list multimap which forwards all its method calls to another list multimap. | 
| class  | ForwardingMultimap<K,V>A multimap which forwards all its method calls to another multimap. | 
| class  | ForwardingSetMultimap<K,V>A set multimap which forwards all its method calls to another set multimap. | 
| class  | ForwardingSortedSetMultimap<K,V>A sorted set multimap which forwards all its method calls to another sorted
 set multimap. | 
| class  | HashMultimap<K,V>Implementation of  Multimapusing hash tables. | 
| class  | ImmutableListMultimap<K,V>A  ListMultimapwhose contents will never change, with many other important properties
 detailed atImmutableCollection. | 
| class  | ImmutableMultimap<K,V>A  Multimapwhose contents will never change, with many other important properties
 detailed atImmutableCollection. | 
| class  | ImmutableSetMultimap<K,V>A  SetMultimapwhose contents will never change, with many other important properties
 detailed atImmutableCollection. | 
| class  | LinkedHashMultimap<K,V>Implementation of  Multimapthat does not allow duplicate key-value
 entries and that returns collections whose iterators follow the ordering in
 which the data was added to the multimap. | 
| class  | LinkedListMultimap<K,V>An implementation of  ListMultimapthat supports deterministic
 iteration order for both keys and values. | 
| class  | TreeMultimap<K,V>Implementation of  Multimapwhose keys and values are ordered by
 their natural ordering or by supplied comparators. | 
| Modifier and Type | Method and Description | 
|---|---|
| static <K,V,M extends Multimap<K,V>>  | Multimaps. invertFrom(Multimap<? extends V,? extends K> source,
                    M dest)Copies each key-value mapping in  sourceintodest, with
 its key and value reversed. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract <K extends K0,V extends V0>  | MultimapBuilder. build()Returns a new, empty  Multimapwith the specified implementation. | 
| <K extends K0,V extends V0>  | MultimapBuilder. build(Multimap<? extends K,? extends V> multimap)Returns a  Multimapwith the specified implementation, initialized with the entries ofmultimap. | 
| static <K,V> Multimap<K,V> | MapConstraints. constrainedMultimap(Multimap<K,V> multimap,
                                      MapConstraint<? super K,? super V> constraint)Deprecated.  Returns a constrained view of the specified multimap, using the specified
 constraint. | 
| protected abstract Multimap<K,V> | ForwardingMultimap. delegate() | 
| static <K,V> Multimap<K,V> | Multimaps. filterEntries(Multimap<K,V> unfiltered,
                          Predicate<? super Map.Entry<K,V>> entryPredicate)Returns a multimap containing the mappings in  unfilteredthat
 satisfy a predicate. | 
| static <K,V> Multimap<K,V> | Multimaps. filterKeys(Multimap<K,V> unfiltered,
                    Predicate<? super K> keyPredicate)Returns a multimap containing the mappings in  unfilteredwhose keys
 satisfy a predicate. | 
| static <K,V> Multimap<K,V> | Multimaps. filterValues(Multimap<K,V> unfiltered,
                        Predicate<? super V> valuePredicate)Returns a multimap containing the mappings in  unfilteredwhose values
 satisfy a predicate. | 
| static <K,V> Multimap<K,V> | Multimaps. newMultimap(Map<K,Collection<V>> map,
                      Supplier<? extends Collection<V>> factory)Creates a new  Multimapbacked bymap, whose internal value
 collections are generated byfactory. | 
| static <K,V> Multimap<K,V> | Multimaps. synchronizedMultimap(Multimap<K,V> multimap)Returns a synchronized (thread-safe) multimap backed by the specified
 multimap. | 
| static <K,V1,V2> Multimap<K,V2> | Multimaps. transformEntries(Multimap<K,V1> fromMap,
                                Maps.EntryTransformer<? super K,? super V1,V2> transformer)Returns a view of a multimap whose values are derived from the original
 multimap's entries. | 
| static <K,V1,V2> Multimap<K,V2> | Multimaps. transformValues(Multimap<K,V1> fromMultimap,
                              Function<? super V1,V2> function)Returns a view of a multimap where each value is transformed by a function. | 
| static <K,V> Multimap<K,V> | Multimaps. unmodifiableMultimap(ImmutableMultimap<K,V> delegate)Deprecated. 
 no need to use this | 
| static <K,V> Multimap<K,V> | Multimaps. unmodifiableMultimap(Multimap<K,V> delegate)Returns an unmodifiable view of the specified multimap. | 
| Modifier and Type | Method and Description | 
|---|---|
| static <K,V> Map<K,Collection<V>> | Multimaps. asMap(Multimap<K,V> multimap)Returns  multimap.asMap(). | 
| <K extends K0,V extends V0>  | MultimapBuilder. build(Multimap<? extends K,? extends V> multimap)Returns a  Multimapwith the specified implementation, initialized with the entries ofmultimap. | 
| <K extends K0,V extends V0>  | MultimapBuilder.ListMultimapBuilder. build(Multimap<? extends K,? extends V> multimap) | 
| <K extends K0,V extends V0>  | MultimapBuilder.SetMultimapBuilder. build(Multimap<? extends K,? extends V> multimap) | 
| <K extends K0,V extends V0>  | MultimapBuilder.SortedSetMultimapBuilder. build(Multimap<? extends K,? extends V> multimap) | 
| static <K,V> Multimap<K,V> | MapConstraints. constrainedMultimap(Multimap<K,V> multimap,
                                      MapConstraint<? super K,? super V> constraint)Deprecated.  Returns a constrained view of the specified multimap, using the specified
 constraint. | 
| static <K,V> ImmutableSetMultimap<K,V> | ImmutableSetMultimap. copyOf(Multimap<? extends K,? extends V> multimap)Returns an immutable set multimap containing the same mappings as
  multimap. | 
| static <K,V> ImmutableMultimap<K,V> | ImmutableMultimap. copyOf(Multimap<? extends K,? extends V> multimap)Returns an immutable multimap containing the same mappings as  multimap, in the "key-grouped" iteration order described in the class
 documentation. | 
| static <K,V> ImmutableListMultimap<K,V> | ImmutableListMultimap. copyOf(Multimap<? extends K,? extends V> multimap)Returns an immutable multimap containing the same mappings as  multimap. | 
| static <K extends Comparable,V extends Comparable>  | TreeMultimap. create(Multimap<? extends K,? extends V> multimap)Constructs a  TreeMultimap, ordered by the natural ordering of its
 keys and values, with the same mappings as the specified multimap. | 
| static <K,V> ArrayListMultimap<K,V> | ArrayListMultimap. create(Multimap<? extends K,? extends V> multimap)Constructs an  ArrayListMultimapwith the same mappings as the
 specified multimap. | 
| static <K,V> HashMultimap<K,V> | HashMultimap. create(Multimap<? extends K,? extends V> multimap)Constructs a  HashMultimapwith the same mappings as the specified
 multimap. | 
| static <K,V> LinkedHashMultimap<K,V> | LinkedHashMultimap. create(Multimap<? extends K,? extends V> multimap)Constructs a  LinkedHashMultimapwith the same mappings as the
 specified multimap. | 
| static <K,V> LinkedListMultimap<K,V> | LinkedListMultimap. create(Multimap<? extends K,? extends V> multimap)Constructs a  LinkedListMultimapwith the same mappings as the
 specifiedMultimap. | 
| static <K,V> Multimap<K,V> | Multimaps. filterEntries(Multimap<K,V> unfiltered,
                          Predicate<? super Map.Entry<K,V>> entryPredicate)Returns a multimap containing the mappings in  unfilteredthat
 satisfy a predicate. | 
| static <K,V> Multimap<K,V> | Multimaps. filterKeys(Multimap<K,V> unfiltered,
                    Predicate<? super K> keyPredicate)Returns a multimap containing the mappings in  unfilteredwhose keys
 satisfy a predicate. | 
| static <K,V> Multimap<K,V> | Multimaps. filterValues(Multimap<K,V> unfiltered,
                        Predicate<? super V> valuePredicate)Returns a multimap containing the mappings in  unfilteredwhose values
 satisfy a predicate. | 
| static <K,V,M extends Multimap<K,V>>  | Multimaps. invertFrom(Multimap<? extends V,? extends K> source,
                    M dest)Copies each key-value mapping in  sourceintodest, with
 its key and value reversed. | 
| boolean | ForwardingMultimap. putAll(Multimap<? extends K,? extends V> multimap) | 
| ImmutableSetMultimap.Builder<K,V> | ImmutableSetMultimap.Builder. putAll(Multimap<? extends K,? extends V> multimap) | 
| boolean | ImmutableMultimap. putAll(Multimap<? extends K,? extends V> multimap)Deprecated. 
 Unsupported operation. | 
| ImmutableMultimap.Builder<K,V> | ImmutableMultimap.Builder. putAll(Multimap<? extends K,? extends V> multimap)Stores another multimap's entries in the built multimap. | 
| ImmutableListMultimap.Builder<K,V> | ImmutableListMultimap.Builder. putAll(Multimap<? extends K,? extends V> multimap) | 
| boolean | Multimap. putAll(Multimap<? extends K,? extends V> multimap)Stores all key-value pairs of  multimapin this multimap, in the
 order returned bymultimap.entries(). | 
| static <K,V> Multimap<K,V> | Multimaps. synchronizedMultimap(Multimap<K,V> multimap)Returns a synchronized (thread-safe) multimap backed by the specified
 multimap. | 
| static <K,V1,V2> Multimap<K,V2> | Multimaps. transformEntries(Multimap<K,V1> fromMap,
                                Maps.EntryTransformer<? super K,? super V1,V2> transformer)Returns a view of a multimap whose values are derived from the original
 multimap's entries. | 
| static <K,V1,V2> Multimap<K,V2> | Multimaps. transformValues(Multimap<K,V1> fromMultimap,
                              Function<? super V1,V2> function)Returns a view of a multimap where each value is transformed by a function. | 
| static <K,V> Multimap<K,V> | Multimaps. unmodifiableMultimap(Multimap<K,V> delegate)Returns an unmodifiable view of the specified multimap. | 
| Modifier and Type | Method and Description | 
|---|---|
| MediaType | MediaType. withParameters(Multimap<String,String> parameters)Replaces all parameters with the given parameters. | 
Copyright © 2010-2015. All Rights Reserved.