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 Class com.google.common.collect.ImmutableBiMap (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 Class com.google.common.collect.ImmutableBiMap (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/ImmutableBiMap.html" title="class 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-useImmutableBiMap.html" target="_top"><B>FRAMES</B></A> 62 <A HREF="ImmutableBiMap.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 Class<br>com.google.common.collect.ImmutableBiMap</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/ImmutableBiMap.html" title="class in com.google.common.collect">ImmutableBiMap</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/ImmutableBiMap.html" title="class in com.google.common.collect">ImmutableBiMap</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">Methods in <A HREF="../../../../../com/google/common/collect/package-summary.html">com.google.common.collect</A> that return <A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html" title="class in com.google.common.collect">ImmutableBiMap</A></FONT></TH> 113</TR> 114<TR BGCOLOR="white" CLASS="TableRowColor"> 115<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 116<CODE> <A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html" title="class in com.google.common.collect">ImmutableBiMap</A><<A HREF="../../../../../com/google/common/collect/ImmutableBiMap.Builder.html" title="type parameter in ImmutableBiMap.Builder">K</A>,<A HREF="../../../../../com/google/common/collect/ImmutableBiMap.Builder.html" title="type parameter in ImmutableBiMap.Builder">V</A>></CODE></FONT></TD> 117<TD><CODE><B>ImmutableBiMap.Builder.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableBiMap.Builder.html#build()">build</A></B>()</CODE> 118 119<BR> 120 Returns a newly-created immutable bimap.</TD> 121</TR> 122<TR BGCOLOR="white" CLASS="TableRowColor"> 123<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 124<CODE>static 125<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 126<TR ALIGN="right" VALIGN=""> 127<TD NOWRAP><FONT SIZE="-1"> 128<CODE><K,V> <A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html" title="class in com.google.common.collect">ImmutableBiMap</A><K,V></CODE></FONT></TD> 129</TR> 130</TABLE> 131</CODE></FONT></TD> 132<TD><CODE><B>ImmutableBiMap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html#copyOf(java.util.Map)">copyOf</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><? extends K,? extends V> map)</CODE> 133 134<BR> 135 Returns an immutable bimap containing the same entries as <code>map</code>.</TD> 136</TR> 137<TR BGCOLOR="white" CLASS="TableRowColor"> 138<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 139<CODE>abstract <A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html" title="class in com.google.common.collect">ImmutableBiMap</A><<A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html" title="type parameter in ImmutableBiMap">V</A>,<A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html" title="type parameter in ImmutableBiMap">K</A>></CODE></FONT></TD> 140<TD><CODE><B>ImmutableBiMap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html#inverse()">inverse</A></B>()</CODE> 141 142<BR> 143 Returns the inverse view of this bimap, which maps each of this bimap's 144 values to its associated key.</TD> 145</TR> 146<TR BGCOLOR="white" CLASS="TableRowColor"> 147<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 148<CODE>static 149<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 150<TR ALIGN="right" VALIGN=""> 151<TD NOWRAP><FONT SIZE="-1"> 152<CODE><K,V> <A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html" title="class in com.google.common.collect">ImmutableBiMap</A><K,V></CODE></FONT></TD> 153</TR> 154</TABLE> 155</CODE></FONT></TD> 156<TD><CODE><B>ImmutableBiMap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html#of()">of</A></B>()</CODE> 157 158<BR> 159 Returns the empty bimap.</TD> 160</TR> 161<TR BGCOLOR="white" CLASS="TableRowColor"> 162<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 163<CODE>static 164<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 165<TR ALIGN="right" VALIGN=""> 166<TD NOWRAP><FONT SIZE="-1"> 167<CODE><K,V> <A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html" title="class in com.google.common.collect">ImmutableBiMap</A><K,V></CODE></FONT></TD> 168</TR> 169</TABLE> 170</CODE></FONT></TD> 171<TD><CODE><B>ImmutableBiMap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html#of(K, V)">of</A></B>(K k1, 172 V v1)</CODE> 173 174<BR> 175 Returns an immutable bimap containing a single entry.</TD> 176</TR> 177<TR BGCOLOR="white" CLASS="TableRowColor"> 178<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 179<CODE>static 180<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 181<TR ALIGN="right" VALIGN=""> 182<TD NOWRAP><FONT SIZE="-1"> 183<CODE><K,V> <A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html" title="class in com.google.common.collect">ImmutableBiMap</A><K,V></CODE></FONT></TD> 184</TR> 185</TABLE> 186</CODE></FONT></TD> 187<TD><CODE><B>ImmutableBiMap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html#of(K, V, K, V)">of</A></B>(K k1, 188 V v1, 189 K k2, 190 V v2)</CODE> 191 192<BR> 193 Returns an immutable map containing the given entries, in order.</TD> 194</TR> 195<TR BGCOLOR="white" CLASS="TableRowColor"> 196<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 197<CODE>static 198<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 199<TR ALIGN="right" VALIGN=""> 200<TD NOWRAP><FONT SIZE="-1"> 201<CODE><K,V> <A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html" title="class in com.google.common.collect">ImmutableBiMap</A><K,V></CODE></FONT></TD> 202</TR> 203</TABLE> 204</CODE></FONT></TD> 205<TD><CODE><B>ImmutableBiMap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html#of(K, V, K, V, K, V)">of</A></B>(K k1, 206 V v1, 207 K k2, 208 V v2, 209 K k3, 210 V v3)</CODE> 211 212<BR> 213 Returns an immutable map containing the given entries, in order.</TD> 214</TR> 215<TR BGCOLOR="white" CLASS="TableRowColor"> 216<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 217<CODE>static 218<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 219<TR ALIGN="right" VALIGN=""> 220<TD NOWRAP><FONT SIZE="-1"> 221<CODE><K,V> <A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html" title="class in com.google.common.collect">ImmutableBiMap</A><K,V></CODE></FONT></TD> 222</TR> 223</TABLE> 224</CODE></FONT></TD> 225<TD><CODE><B>ImmutableBiMap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html#of(K, V, K, V, K, V, K, V)">of</A></B>(K k1, 226 V v1, 227 K k2, 228 V v2, 229 K k3, 230 V v3, 231 K k4, 232 V v4)</CODE> 233 234<BR> 235 Returns an immutable map containing the given entries, in order.</TD> 236</TR> 237<TR BGCOLOR="white" CLASS="TableRowColor"> 238<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 239<CODE>static 240<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 241<TR ALIGN="right" VALIGN=""> 242<TD NOWRAP><FONT SIZE="-1"> 243<CODE><K,V> <A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html" title="class in com.google.common.collect">ImmutableBiMap</A><K,V></CODE></FONT></TD> 244</TR> 245</TABLE> 246</CODE></FONT></TD> 247<TD><CODE><B>ImmutableBiMap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html#of(K, V, K, V, K, V, K, V, K, V)">of</A></B>(K k1, 248 V v1, 249 K k2, 250 V v2, 251 K k3, 252 V v3, 253 K k4, 254 V v4, 255 K k5, 256 V v5)</CODE> 257 258<BR> 259 Returns an immutable map containing the given entries, in order.</TD> 260</TR> 261</TABLE> 262 263<P> 264<HR> 265 266 267<!-- ======= START OF BOTTOM NAVBAR ====== --> 268<A NAME="navbar_bottom"><!-- --></A> 269<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 270<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 271<TR> 272<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 273<A NAME="navbar_bottom_firstrow"><!-- --></A> 274<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 275 <TR ALIGN="center" VALIGN="top"> 276 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 277 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 278 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html" title="class in com.google.common.collect"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> 279 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> 280 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 281 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 282 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 283 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 284 </TR> 285</TABLE> 286</TD> 287<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 288</EM> 289</TD> 290</TR> 291 292<TR> 293<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 294 PREV 295 NEXT</FONT></TD> 296<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 297 <A HREF="../../../../../index.html?com/google/common/collect//class-useImmutableBiMap.html" target="_top"><B>FRAMES</B></A> 298 <A HREF="ImmutableBiMap.html" target="_top"><B>NO FRAMES</B></A> 299 <SCRIPT type="text/javascript"> 300 <!-- 301 if(window==top) { 302 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 303 } 304 //--> 305</SCRIPT> 306<NOSCRIPT> 307 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 308</NOSCRIPT> 309 310 311</FONT></TD> 312</TR> 313</TABLE> 314<A NAME="skip-navbar_bottom"></A> 315<!-- ======== END OF BOTTOM NAVBAR ======= --> 316 317<HR> 318 319</BODY> 320</HTML> 321