1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!--NewPage--> 3<HTML> 4<HEAD> 5<!-- Generated by javadoc (build 1.6.0-google-internal) on Mon Jan 04 20:48:01 PST 2010 --> 6<TITLE> 7Uses of Interface com.google.common.collect.Multimap (Guava Libraries 2010.01.04) 8</TITLE> 9 10<META NAME="date" CONTENT="2010-01-04"> 11 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> 13 14<SCRIPT type="text/javascript"> 15function windowTitle() 16{ 17 if (location.href.indexOf('is-external=true') == -1) { 18 parent.document.title="Uses of Interface com.google.common.collect.Multimap (Guava Libraries 2010.01.04)"; 19 } 20} 21</SCRIPT> 22<NOSCRIPT> 23</NOSCRIPT> 24 25</HEAD> 26 27<BODY BGCOLOR="white" onload="windowTitle();"> 28<HR> 29 30 31<!-- ========= START OF TOP NAVBAR ======= --> 32<A NAME="navbar_top"><!-- --></A> 33<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 34<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 35<TR> 36<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 37<A NAME="navbar_top_firstrow"><!-- --></A> 38<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 39 <TR ALIGN="center" VALIGN="top"> 40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> 43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 48 </TR> 49</TABLE> 50</TD> 51<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 52</EM> 53</TD> 54</TR> 55 56<TR> 57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 58 PREV 59 NEXT</FONT></TD> 60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 61 <A HREF="../../../../../index.html?com/google/common/collect//class-useMultimap.html" target="_top"><B>FRAMES</B></A> 62 <A HREF="Multimap.html" target="_top"><B>NO FRAMES</B></A> 63 <SCRIPT type="text/javascript"> 64 <!-- 65 if(window==top) { 66 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 67 } 68 //--> 69</SCRIPT> 70<NOSCRIPT> 71 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 72</NOSCRIPT> 73 74 75</FONT></TD> 76</TR> 77</TABLE> 78<A NAME="skip-navbar_top"></A> 79<!-- ========= END OF TOP NAVBAR ========= --> 80 81<HR> 82<CENTER> 83<H2> 84<B>Uses of Interface<br>com.google.common.collect.Multimap</B></H2> 85</CENTER> 86 87<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 88<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 89<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 90Packages that use <A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A></FONT></TH> 91</TR> 92<TR BGCOLOR="white" CLASS="TableRowColor"> 93<TD><A HREF="#com.google.common.collect"><B>com.google.common.collect</B></A></TD> 94<TD>This package contains generic collection interfaces and implementations, and 95 other utilities for working with collections. </TD> 96</TR> 97</TABLE> 98 99<P> 100<A NAME="com.google.common.collect"><!-- --></A> 101<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 102<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 103<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 104Uses of <A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A> in <A HREF="../../../../../com/google/common/collect/package-summary.html">com.google.common.collect</A></FONT></TH> 105</TR> 106</TABLE> 107 108<P> 109 110<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 111<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> 112<TH ALIGN="left" COLSPAN="2">Subinterfaces of <A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A> in <A HREF="../../../../../com/google/common/collect/package-summary.html">com.google.common.collect</A></FONT></TH> 113</TR> 114<TR BGCOLOR="white" CLASS="TableRowColor"> 115<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 116<CODE> interface</CODE></FONT></TD> 117<TD><CODE><B><A HREF="../../../../../com/google/common/collect/ListMultimap.html" title="interface in com.google.common.collect">ListMultimap<K,V></A></B></CODE> 118 119<BR> 120 A <code>Multimap</code> that can hold duplicate key-value pairs and that maintains 121 the insertion ordering of values for a given key.</TD> 122</TR> 123<TR BGCOLOR="white" CLASS="TableRowColor"> 124<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 125<CODE> interface</CODE></FONT></TD> 126<TD><CODE><B><A HREF="../../../../../com/google/common/collect/SetMultimap.html" title="interface in com.google.common.collect">SetMultimap<K,V></A></B></CODE> 127 128<BR> 129 A <code>Multimap</code> that cannot hold duplicate key-value pairs.</TD> 130</TR> 131<TR BGCOLOR="white" CLASS="TableRowColor"> 132<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 133<CODE> interface</CODE></FONT></TD> 134<TD><CODE><B><A HREF="../../../../../com/google/common/collect/SortedSetMultimap.html" title="interface in com.google.common.collect">SortedSetMultimap<K,V></A></B></CODE> 135 136<BR> 137 A <code>SetMultimap</code> whose set of values for a given key are kept sorted; 138 that is, they comprise a <A HREF="http://java.sun.com/javase/6/docs/api/java/util/SortedSet.html?is-external=true" title="class or interface in java.util"><CODE>SortedSet</CODE></A>.</TD> 139</TR> 140</TABLE> 141 142<P> 143 144<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 145<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> 146<TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../../com/google/common/collect/package-summary.html">com.google.common.collect</A> that implement <A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A></FONT></TH> 147</TR> 148<TR BGCOLOR="white" CLASS="TableRowColor"> 149<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 150<CODE> class</CODE></FONT></TD> 151<TD><CODE><B><A HREF="../../../../../com/google/common/collect/ArrayListMultimap.html" title="class in com.google.common.collect">ArrayListMultimap<K,V></A></B></CODE> 152 153<BR> 154 Implementation of <code>Multimap</code> that uses an <code>ArrayList</code> to store 155 the values for a given key.</TD> 156</TR> 157<TR BGCOLOR="white" CLASS="TableRowColor"> 158<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 159<CODE> class</CODE></FONT></TD> 160<TD><CODE><B><A HREF="../../../../../com/google/common/collect/ForwardingMultimap.html" title="class in com.google.common.collect">ForwardingMultimap<K,V></A></B></CODE> 161 162<BR> 163 A multimap which forwards all its method calls to another multimap.</TD> 164</TR> 165<TR BGCOLOR="white" CLASS="TableRowColor"> 166<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 167<CODE> class</CODE></FONT></TD> 168<TD><CODE><B><A HREF="../../../../../com/google/common/collect/HashMultimap.html" title="class in com.google.common.collect">HashMultimap<K,V></A></B></CODE> 169 170<BR> 171 Implementation of <A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect"><CODE>Multimap</CODE></A> using hash tables.</TD> 172</TR> 173<TR BGCOLOR="white" CLASS="TableRowColor"> 174<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 175<CODE> class</CODE></FONT></TD> 176<TD><CODE><B><A HREF="../../../../../com/google/common/collect/ImmutableListMultimap.html" title="class in com.google.common.collect">ImmutableListMultimap<K,V></A></B></CODE> 177 178<BR> 179 An immutable <A HREF="../../../../../com/google/common/collect/ListMultimap.html" title="interface in com.google.common.collect"><CODE>ListMultimap</CODE></A> with reliable user-specified key and value 180 iteration order.</TD> 181</TR> 182<TR BGCOLOR="white" CLASS="TableRowColor"> 183<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 184<CODE> class</CODE></FONT></TD> 185<TD><CODE><B><A HREF="../../../../../com/google/common/collect/ImmutableMultimap.html" title="class in com.google.common.collect">ImmutableMultimap<K,V></A></B></CODE> 186 187<BR> 188 An immutable <A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect"><CODE>Multimap</CODE></A>.</TD> 189</TR> 190<TR BGCOLOR="white" CLASS="TableRowColor"> 191<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 192<CODE> class</CODE></FONT></TD> 193<TD><CODE><B><A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.html" title="class in com.google.common.collect">ImmutableSetMultimap<K,V></A></B></CODE> 194 195<BR> 196 An immutable <A HREF="../../../../../com/google/common/collect/SetMultimap.html" title="interface in com.google.common.collect"><CODE>SetMultimap</CODE></A> with reliable user-specified key and value 197 iteration order.</TD> 198</TR> 199<TR BGCOLOR="white" CLASS="TableRowColor"> 200<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 201<CODE> class</CODE></FONT></TD> 202<TD><CODE><B><A HREF="../../../../../com/google/common/collect/LinkedHashMultimap.html" title="class in com.google.common.collect">LinkedHashMultimap<K,V></A></B></CODE> 203 204<BR> 205 Implementation of <code>Multimap</code> that does not allow duplicate key-value 206 entries and that returns collections whose iterators follow the ordering in 207 which the data was added to the multimap.</TD> 208</TR> 209<TR BGCOLOR="white" CLASS="TableRowColor"> 210<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 211<CODE> class</CODE></FONT></TD> 212<TD><CODE><B><A HREF="../../../../../com/google/common/collect/LinkedListMultimap.html" title="class in com.google.common.collect">LinkedListMultimap<K,V></A></B></CODE> 213 214<BR> 215 An implementation of <code>ListMultimap</code> that supports deterministic 216 iteration order for both keys and values.</TD> 217</TR> 218<TR BGCOLOR="white" CLASS="TableRowColor"> 219<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 220<CODE> class</CODE></FONT></TD> 221<TD><CODE><B><A HREF="../../../../../com/google/common/collect/TreeMultimap.html" title="class in com.google.common.collect">TreeMultimap<K,V></A></B></CODE> 222 223<BR> 224 Implementation of <code>Multimap</code> whose keys and values are ordered by 225 their natural ordering or by supplied comparators.</TD> 226</TR> 227</TABLE> 228 229<P> 230 231<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 232<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> 233<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../com/google/common/collect/package-summary.html">com.google.common.collect</A> with type parameters of type <A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A></FONT></TH> 234</TR> 235<TR BGCOLOR="white" CLASS="TableRowColor"> 236<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 237<CODE>static 238<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 239<TR ALIGN="right" VALIGN=""> 240<TD NOWRAP><FONT SIZE="-1"> 241<CODE><K,V,M extends <A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><K,V>> 242<BR> 243M</CODE></FONT></TD> 244</TR> 245</TABLE> 246</CODE></FONT></TD> 247<TD><CODE><B>Multimaps.</B><B><A HREF="../../../../../com/google/common/collect/Multimaps.html#invertFrom(com.google.common.collect.Multimap, M)">invertFrom</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><? extends V,? extends K> source, 248 M dest)</CODE> 249 250<BR> 251 Copies each key-value mapping in <code>source</code> into <code>dest</code>, with 252 its key and value reversed.</TD> 253</TR> 254</TABLE> 255 256<P> 257 258<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 259<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> 260<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../com/google/common/collect/package-summary.html">com.google.common.collect</A> that return <A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A></FONT></TH> 261</TR> 262<TR BGCOLOR="white" CLASS="TableRowColor"> 263<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 264<CODE>protected abstract <A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><<A HREF="../../../../../com/google/common/collect/ForwardingMultimap.html" title="type parameter in ForwardingMultimap">K</A>,<A HREF="../../../../../com/google/common/collect/ForwardingMultimap.html" title="type parameter in ForwardingMultimap">V</A>></CODE></FONT></TD> 265<TD><CODE><B>ForwardingMultimap.</B><B><A HREF="../../../../../com/google/common/collect/ForwardingMultimap.html#delegate()">delegate</A></B>()</CODE> 266 267<BR> 268 </TD> 269</TR> 270<TR BGCOLOR="white" CLASS="TableRowColor"> 271<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 272<CODE>static 273<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 274<TR ALIGN="right" VALIGN=""> 275<TD NOWRAP><FONT SIZE="-1"> 276<CODE><K,V> <A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><K,V></CODE></FONT></TD> 277</TR> 278</TABLE> 279</CODE></FONT></TD> 280<TD><CODE><B>Multimaps.</B><B><A HREF="../../../../../com/google/common/collect/Multimaps.html#newMultimap(java.util.Map, com.google.common.base.Supplier)">newMultimap</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><K,<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><V>> map, 281 <A HREF="../../../../../com/google/common/base/Supplier.html" title="interface in com.google.common.base">Supplier</A><? extends <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><V>> factory)</CODE> 282 283<BR> 284 Creates a new <code>Multimap</code> that uses the provided map and factory.</TD> 285</TR> 286<TR BGCOLOR="white" CLASS="TableRowColor"> 287<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 288<CODE>static 289<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 290<TR ALIGN="right" VALIGN=""> 291<TD NOWRAP><FONT SIZE="-1"> 292<CODE><K,V> <A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><K,V></CODE></FONT></TD> 293</TR> 294</TABLE> 295</CODE></FONT></TD> 296<TD><CODE><B>Multimaps.</B><B><A HREF="../../../../../com/google/common/collect/Multimaps.html#synchronizedMultimap(com.google.common.collect.Multimap)">synchronizedMultimap</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><K,V> multimap)</CODE> 297 298<BR> 299 Returns a synchronized (thread-safe) multimap backed by the specified 300 multimap.</TD> 301</TR> 302<TR BGCOLOR="white" CLASS="TableRowColor"> 303<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 304<CODE>static 305<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 306<TR ALIGN="right" VALIGN=""> 307<TD NOWRAP><FONT SIZE="-1"> 308<CODE><K,V> <A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><K,V></CODE></FONT></TD> 309</TR> 310</TABLE> 311</CODE></FONT></TD> 312<TD><CODE><B>Multimaps.</B><B><A HREF="../../../../../com/google/common/collect/Multimaps.html#unmodifiableMultimap(com.google.common.collect.Multimap)">unmodifiableMultimap</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><K,V> delegate)</CODE> 313 314<BR> 315 Returns an unmodifiable view of the specified multimap.</TD> 316</TR> 317</TABLE> 318 319<P> 320 321<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 322<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> 323<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../com/google/common/collect/package-summary.html">com.google.common.collect</A> with parameters of type <A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A></FONT></TH> 324</TR> 325<TR BGCOLOR="white" CLASS="TableRowColor"> 326<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 327<CODE>static 328<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 329<TR ALIGN="right" VALIGN=""> 330<TD NOWRAP><FONT SIZE="-1"> 331<CODE><K,V> <A HREF="../../../../../com/google/common/collect/ImmutableListMultimap.html" title="class in com.google.common.collect">ImmutableListMultimap</A><K,V></CODE></FONT></TD> 332</TR> 333</TABLE> 334</CODE></FONT></TD> 335<TD><CODE><B>ImmutableListMultimap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableListMultimap.html#copyOf(com.google.common.collect.Multimap)">copyOf</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><? extends K,? extends V> multimap)</CODE> 336 337<BR> 338 Returns an immutable multimap containing the same mappings as 339 <code>multimap</code>.</TD> 340</TR> 341<TR BGCOLOR="white" CLASS="TableRowColor"> 342<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 343<CODE>static 344<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 345<TR ALIGN="right" VALIGN=""> 346<TD NOWRAP><FONT SIZE="-1"> 347<CODE><K,V> <A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.html" title="class in com.google.common.collect">ImmutableSetMultimap</A><K,V></CODE></FONT></TD> 348</TR> 349</TABLE> 350</CODE></FONT></TD> 351<TD><CODE><B>ImmutableSetMultimap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.html#copyOf(com.google.common.collect.Multimap)">copyOf</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><? extends K,? extends V> multimap)</CODE> 352 353<BR> 354 Returns an immutable set multimap containing the same mappings as 355 <code>multimap</code>.</TD> 356</TR> 357<TR BGCOLOR="white" CLASS="TableRowColor"> 358<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 359<CODE>static 360<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 361<TR ALIGN="right" VALIGN=""> 362<TD NOWRAP><FONT SIZE="-1"> 363<CODE><K,V> <A HREF="../../../../../com/google/common/collect/ImmutableMultimap.html" title="class in com.google.common.collect">ImmutableMultimap</A><K,V></CODE></FONT></TD> 364</TR> 365</TABLE> 366</CODE></FONT></TD> 367<TD><CODE><B>ImmutableMultimap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableMultimap.html#copyOf(com.google.common.collect.Multimap)">copyOf</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><? extends K,? extends V> multimap)</CODE> 368 369<BR> 370 Returns an immutable multimap containing the same mappings as 371 <code>multimap</code>.</TD> 372</TR> 373<TR BGCOLOR="white" CLASS="TableRowColor"> 374<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 375<CODE>static 376<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 377<TR ALIGN="right" VALIGN=""> 378<TD NOWRAP><FONT SIZE="-1"> 379<CODE><K extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A>,V extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</A>> 380<BR> 381<A HREF="../../../../../com/google/common/collect/TreeMultimap.html" title="class in com.google.common.collect">TreeMultimap</A><K,V></CODE></FONT></TD> 382</TR> 383</TABLE> 384</CODE></FONT></TD> 385<TD><CODE><B>TreeMultimap.</B><B><A HREF="../../../../../com/google/common/collect/TreeMultimap.html#create(com.google.common.collect.Multimap)">create</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><? extends K,? extends V> multimap)</CODE> 386 387<BR> 388 Constructs a <code>TreeMultimap</code>, ordered by the natural ordering of its 389 keys and values, with the same mappings as the specified multimap.</TD> 390</TR> 391<TR BGCOLOR="white" CLASS="TableRowColor"> 392<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 393<CODE>static 394<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 395<TR ALIGN="right" VALIGN=""> 396<TD NOWRAP><FONT SIZE="-1"> 397<CODE><K,V> <A HREF="../../../../../com/google/common/collect/HashMultimap.html" title="class in com.google.common.collect">HashMultimap</A><K,V></CODE></FONT></TD> 398</TR> 399</TABLE> 400</CODE></FONT></TD> 401<TD><CODE><B>HashMultimap.</B><B><A HREF="../../../../../com/google/common/collect/HashMultimap.html#create(com.google.common.collect.Multimap)">create</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><? extends K,? extends V> multimap)</CODE> 402 403<BR> 404 Constructs a <code>HashMultimap</code> with the same mappings as the specified 405 multimap.</TD> 406</TR> 407<TR BGCOLOR="white" CLASS="TableRowColor"> 408<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 409<CODE>static 410<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 411<TR ALIGN="right" VALIGN=""> 412<TD NOWRAP><FONT SIZE="-1"> 413<CODE><K,V> <A HREF="../../../../../com/google/common/collect/ArrayListMultimap.html" title="class in com.google.common.collect">ArrayListMultimap</A><K,V></CODE></FONT></TD> 414</TR> 415</TABLE> 416</CODE></FONT></TD> 417<TD><CODE><B>ArrayListMultimap.</B><B><A HREF="../../../../../com/google/common/collect/ArrayListMultimap.html#create(com.google.common.collect.Multimap)">create</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><? extends K,? extends V> multimap)</CODE> 418 419<BR> 420 Constructs an <code>ArrayListMultimap</code> with the same mappings as the 421 specified multimap.</TD> 422</TR> 423<TR BGCOLOR="white" CLASS="TableRowColor"> 424<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 425<CODE>static 426<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 427<TR ALIGN="right" VALIGN=""> 428<TD NOWRAP><FONT SIZE="-1"> 429<CODE><K,V> <A HREF="../../../../../com/google/common/collect/LinkedListMultimap.html" title="class in com.google.common.collect">LinkedListMultimap</A><K,V></CODE></FONT></TD> 430</TR> 431</TABLE> 432</CODE></FONT></TD> 433<TD><CODE><B>LinkedListMultimap.</B><B><A HREF="../../../../../com/google/common/collect/LinkedListMultimap.html#create(com.google.common.collect.Multimap)">create</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><? extends K,? extends V> multimap)</CODE> 434 435<BR> 436 Constructs a <code>LinkedListMultimap</code> with the same mappings as the 437 specified <code>Multimap</code>.</TD> 438</TR> 439<TR BGCOLOR="white" CLASS="TableRowColor"> 440<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 441<CODE>static 442<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 443<TR ALIGN="right" VALIGN=""> 444<TD NOWRAP><FONT SIZE="-1"> 445<CODE><K,V> <A HREF="../../../../../com/google/common/collect/LinkedHashMultimap.html" title="class in com.google.common.collect">LinkedHashMultimap</A><K,V></CODE></FONT></TD> 446</TR> 447</TABLE> 448</CODE></FONT></TD> 449<TD><CODE><B>LinkedHashMultimap.</B><B><A HREF="../../../../../com/google/common/collect/LinkedHashMultimap.html#create(com.google.common.collect.Multimap)">create</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><? extends K,? extends V> multimap)</CODE> 450 451<BR> 452 Constructs a <code>LinkedHashMultimap</code> with the same mappings as the 453 specified multimap.</TD> 454</TR> 455<TR BGCOLOR="white" CLASS="TableRowColor"> 456<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 457<CODE>static 458<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 459<TR ALIGN="right" VALIGN=""> 460<TD NOWRAP><FONT SIZE="-1"> 461<CODE><K,V,M extends <A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><K,V>> 462<BR> 463M</CODE></FONT></TD> 464</TR> 465</TABLE> 466</CODE></FONT></TD> 467<TD><CODE><B>Multimaps.</B><B><A HREF="../../../../../com/google/common/collect/Multimaps.html#invertFrom(com.google.common.collect.Multimap, M)">invertFrom</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><? extends V,? extends K> source, 468 M dest)</CODE> 469 470<BR> 471 Copies each key-value mapping in <code>source</code> into <code>dest</code>, with 472 its key and value reversed.</TD> 473</TR> 474<TR BGCOLOR="white" CLASS="TableRowColor"> 475<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 476<CODE> <A HREF="../../../../../com/google/common/collect/ImmutableListMultimap.Builder.html" title="class in com.google.common.collect">ImmutableListMultimap.Builder</A><<A HREF="../../../../../com/google/common/collect/ImmutableListMultimap.Builder.html" title="type parameter in ImmutableListMultimap.Builder">K</A>,<A HREF="../../../../../com/google/common/collect/ImmutableListMultimap.Builder.html" title="type parameter in ImmutableListMultimap.Builder">V</A>></CODE></FONT></TD> 477<TD><CODE><B>ImmutableListMultimap.Builder.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableListMultimap.Builder.html#putAll(com.google.common.collect.Multimap)">putAll</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><? extends <A HREF="../../../../../com/google/common/collect/ImmutableListMultimap.Builder.html" title="type parameter in ImmutableListMultimap.Builder">K</A>,? extends <A HREF="../../../../../com/google/common/collect/ImmutableListMultimap.Builder.html" title="type parameter in ImmutableListMultimap.Builder">V</A>> multimap)</CODE> 478 479<BR> 480 Stores another multimap's entries in the built multimap.</TD> 481</TR> 482<TR BGCOLOR="white" CLASS="TableRowColor"> 483<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 484<CODE> <A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.Builder.html" title="class in com.google.common.collect">ImmutableSetMultimap.Builder</A><<A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.Builder.html" title="type parameter in ImmutableSetMultimap.Builder">K</A>,<A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.Builder.html" title="type parameter in ImmutableSetMultimap.Builder">V</A>></CODE></FONT></TD> 485<TD><CODE><B>ImmutableSetMultimap.Builder.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.Builder.html#putAll(com.google.common.collect.Multimap)">putAll</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><? extends <A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.Builder.html" title="type parameter in ImmutableSetMultimap.Builder">K</A>,? extends <A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.Builder.html" title="type parameter in ImmutableSetMultimap.Builder">V</A>> multimap)</CODE> 486 487<BR> 488 Stores another multimap's entries in the built multimap.</TD> 489</TR> 490<TR BGCOLOR="white" CLASS="TableRowColor"> 491<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 492<CODE> boolean</CODE></FONT></TD> 493<TD><CODE><B>ForwardingMultimap.</B><B><A HREF="../../../../../com/google/common/collect/ForwardingMultimap.html#putAll(com.google.common.collect.Multimap)">putAll</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><? extends <A HREF="../../../../../com/google/common/collect/ForwardingMultimap.html" title="type parameter in ForwardingMultimap">K</A>,? extends <A HREF="../../../../../com/google/common/collect/ForwardingMultimap.html" title="type parameter in ForwardingMultimap">V</A>> multimap)</CODE> 494 495<BR> 496 </TD> 497</TR> 498<TR BGCOLOR="white" CLASS="TableRowColor"> 499<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 500<CODE> boolean</CODE></FONT></TD> 501<TD><CODE><B>Multimap.</B><B><A HREF="../../../../../com/google/common/collect/Multimap.html#putAll(com.google.common.collect.Multimap)">putAll</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><? extends <A HREF="../../../../../com/google/common/collect/Multimap.html" title="type parameter in Multimap">K</A>,? extends <A HREF="../../../../../com/google/common/collect/Multimap.html" title="type parameter in Multimap">V</A>> multimap)</CODE> 502 503<BR> 504 Copies all of another multimap's key-value pairs into this multimap.</TD> 505</TR> 506<TR BGCOLOR="white" CLASS="TableRowColor"> 507<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 508<CODE> boolean</CODE></FONT></TD> 509<TD><CODE><B>LinkedListMultimap.</B><B><A HREF="../../../../../com/google/common/collect/LinkedListMultimap.html#putAll(com.google.common.collect.Multimap)">putAll</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><? extends <A HREF="../../../../../com/google/common/collect/LinkedListMultimap.html" title="type parameter in LinkedListMultimap">K</A>,? extends <A HREF="../../../../../com/google/common/collect/LinkedListMultimap.html" title="type parameter in LinkedListMultimap">V</A>> multimap)</CODE> 510 511<BR> 512 </TD> 513</TR> 514<TR BGCOLOR="white" CLASS="TableRowColor"> 515<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 516<CODE> boolean</CODE></FONT></TD> 517<TD><CODE><B>ImmutableMultimap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableMultimap.html#putAll(com.google.common.collect.Multimap)">putAll</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><? extends <A HREF="../../../../../com/google/common/collect/ImmutableMultimap.html" title="type parameter in ImmutableMultimap">K</A>,? extends <A HREF="../../../../../com/google/common/collect/ImmutableMultimap.html" title="type parameter in ImmutableMultimap">V</A>> multimap)</CODE> 518 519<BR> 520 Guaranteed to throw an exception and leave the multimap unmodified.</TD> 521</TR> 522<TR BGCOLOR="white" CLASS="TableRowColor"> 523<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 524<CODE> <A HREF="../../../../../com/google/common/collect/ImmutableMultimap.Builder.html" title="class in com.google.common.collect">ImmutableMultimap.Builder</A><<A HREF="../../../../../com/google/common/collect/ImmutableMultimap.Builder.html" title="type parameter in ImmutableMultimap.Builder">K</A>,<A HREF="../../../../../com/google/common/collect/ImmutableMultimap.Builder.html" title="type parameter in ImmutableMultimap.Builder">V</A>></CODE></FONT></TD> 525<TD><CODE><B>ImmutableMultimap.Builder.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableMultimap.Builder.html#putAll(com.google.common.collect.Multimap)">putAll</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><? extends <A HREF="../../../../../com/google/common/collect/ImmutableMultimap.Builder.html" title="type parameter in ImmutableMultimap.Builder">K</A>,? extends <A HREF="../../../../../com/google/common/collect/ImmutableMultimap.Builder.html" title="type parameter in ImmutableMultimap.Builder">V</A>> multimap)</CODE> 526 527<BR> 528 Stores another multimap's entries in the built multimap.</TD> 529</TR> 530<TR BGCOLOR="white" CLASS="TableRowColor"> 531<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 532<CODE>static 533<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 534<TR ALIGN="right" VALIGN=""> 535<TD NOWRAP><FONT SIZE="-1"> 536<CODE><K,V> <A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><K,V></CODE></FONT></TD> 537</TR> 538</TABLE> 539</CODE></FONT></TD> 540<TD><CODE><B>Multimaps.</B><B><A HREF="../../../../../com/google/common/collect/Multimaps.html#synchronizedMultimap(com.google.common.collect.Multimap)">synchronizedMultimap</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><K,V> multimap)</CODE> 541 542<BR> 543 Returns a synchronized (thread-safe) multimap backed by the specified 544 multimap.</TD> 545</TR> 546<TR BGCOLOR="white" CLASS="TableRowColor"> 547<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 548<CODE>static 549<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 550<TR ALIGN="right" VALIGN=""> 551<TD NOWRAP><FONT SIZE="-1"> 552<CODE><K,V> <A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><K,V></CODE></FONT></TD> 553</TR> 554</TABLE> 555</CODE></FONT></TD> 556<TD><CODE><B>Multimaps.</B><B><A HREF="../../../../../com/google/common/collect/Multimaps.html#unmodifiableMultimap(com.google.common.collect.Multimap)">unmodifiableMultimap</A></B>(<A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect">Multimap</A><K,V> delegate)</CODE> 557 558<BR> 559 Returns an unmodifiable view of the specified multimap.</TD> 560</TR> 561</TABLE> 562 563<P> 564<HR> 565 566 567<!-- ======= START OF BOTTOM NAVBAR ====== --> 568<A NAME="navbar_bottom"><!-- --></A> 569<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 570<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 571<TR> 572<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 573<A NAME="navbar_bottom_firstrow"><!-- --></A> 574<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 575 <TR ALIGN="center" VALIGN="top"> 576 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 577 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 578 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../com/google/common/collect/Multimap.html" title="interface in com.google.common.collect"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> 579 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> 580 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 581 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 582 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 583 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 584 </TR> 585</TABLE> 586</TD> 587<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 588</EM> 589</TD> 590</TR> 591 592<TR> 593<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 594 PREV 595 NEXT</FONT></TD> 596<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 597 <A HREF="../../../../../index.html?com/google/common/collect//class-useMultimap.html" target="_top"><B>FRAMES</B></A> 598 <A HREF="Multimap.html" target="_top"><B>NO FRAMES</B></A> 599 <SCRIPT type="text/javascript"> 600 <!-- 601 if(window==top) { 602 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 603 } 604 //--> 605</SCRIPT> 606<NOSCRIPT> 607 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 608</NOSCRIPT> 609 610 611</FONT></TD> 612</TR> 613</TABLE> 614<A NAME="skip-navbar_bottom"></A> 615<!-- ======== END OF BOTTOM NAVBAR ======= --> 616 617<HR> 618 619</BODY> 620</HTML> 621