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> 7 Uses of Class com.google.common.collect.ImmutableSet (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"> 15 function windowTitle() 16 { 17 if (location.href.indexOf('is-external=true') == -1) { 18 parent.document.title="Uses of Class com.google.common.collect.ImmutableSet (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/ImmutableSet.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-useImmutableSet.html" target="_top"><B>FRAMES</B></A> 62 <A HREF="ImmutableSet.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.ImmutableSet</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"> 90 Packages that use <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</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"> 104 Uses of <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</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">Subclasses of <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</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> class</CODE></FONT></TD> 117 <TD><CODE><B><A HREF="../../../../../com/google/common/collect/ImmutableSortedSet.html" title="class in com.google.common.collect">ImmutableSortedSet<E></A></B></CODE> 118 119 <BR> 120 An immutable <code>SortedSet</code> that stores its elements in a sorted array.</TD> 121 </TR> 122 </TABLE> 123 124 <P> 125 126 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 127 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"> 128 <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/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A></FONT></TH> 129 </TR> 130 <TR BGCOLOR="white" CLASS="TableRowColor"> 131 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 132 <CODE> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><<A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html" title="type parameter in ImmutableSet.Builder">E</A>></CODE></FONT></TD> 133 <TD><CODE><B>ImmutableSet.Builder.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html#build()">build</A></B>()</CODE> 134 135 <BR> 136 Returns a newly-created <code>ImmutableSet</code> based on the contents of 137 the <code>Builder</code>.</TD> 138 </TR> 139 <TR BGCOLOR="white" CLASS="TableRowColor"> 140 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 141 <CODE>static 142 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 143 <TR ALIGN="right" VALIGN=""> 144 <TD NOWRAP><FONT SIZE="-1"> 145 <CODE><E> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><E></CODE></FONT></TD> 146 </TR> 147 </TABLE> 148 </CODE></FONT></TD> 149 <TD><CODE><B>ImmutableSet.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSet.html#copyOf(java.lang.Iterable)">copyOf</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><? extends E> elements)</CODE> 150 151 <BR> 152 Returns an immutable set containing the given elements, in order.</TD> 153 </TR> 154 <TR BGCOLOR="white" CLASS="TableRowColor"> 155 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 156 <CODE>static 157 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 158 <TR ALIGN="right" VALIGN=""> 159 <TD NOWRAP><FONT SIZE="-1"> 160 <CODE><E> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><E></CODE></FONT></TD> 161 </TR> 162 </TABLE> 163 </CODE></FONT></TD> 164 <TD><CODE><B>ImmutableSet.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSet.html#copyOf(java.util.Iterator)">copyOf</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</A><? extends E> elements)</CODE> 165 166 <BR> 167 Returns an immutable set containing the given elements, in order.</TD> 168 </TR> 169 <TR BGCOLOR="white" CLASS="TableRowColor"> 170 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 171 <CODE> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.html" title="type parameter in ImmutableSetMultimap">K</A>,<A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.html" title="type parameter in ImmutableSetMultimap">V</A>>></CODE></FONT></TD> 172 <TD><CODE><B>ImmutableSetMultimap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.html#entries()">entries</A></B>()</CODE> 173 174 <BR> 175 Returns an immutable collection of all key-value pairs in the multimap.</TD> 176 </TR> 177 <TR BGCOLOR="white" CLASS="TableRowColor"> 178 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 179 <CODE>abstract <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="../../../../../com/google/common/collect/ImmutableMap.html" title="type parameter in ImmutableMap">K</A>,<A HREF="../../../../../com/google/common/collect/ImmutableMap.html" title="type parameter in ImmutableMap">V</A>>></CODE></FONT></TD> 180 <TD><CODE><B>ImmutableMap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableMap.html#entrySet()">entrySet</A></B>()</CODE> 181 182 <BR> 183 Returns an immutable set of the mappings in this map.</TD> 184 </TR> 185 <TR BGCOLOR="white" CLASS="TableRowColor"> 186 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 187 <CODE> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html" title="type parameter in ImmutableBiMap">K</A>,<A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html" title="type parameter in ImmutableBiMap">V</A>>></CODE></FONT></TD> 188 <TD><CODE><B>ImmutableBiMap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html#entrySet()">entrySet</A></B>()</CODE> 189 190 <BR> 191 </TD> 192 </TR> 193 <TR BGCOLOR="white" CLASS="TableRowColor"> 194 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 195 <CODE> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</A><<A HREF="../../../../../com/google/common/collect/ImmutableSortedMap.html" title="type parameter in ImmutableSortedMap">K</A>,<A HREF="../../../../../com/google/common/collect/ImmutableSortedMap.html" title="type parameter in ImmutableSortedMap">V</A>>></CODE></FONT></TD> 196 <TD><CODE><B>ImmutableSortedMap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSortedMap.html#entrySet()">entrySet</A></B>()</CODE> 197 198 <BR> 199 Returns an immutable set of the mappings in this map, sorted by the key 200 ordering.</TD> 201 </TR> 202 <TR BGCOLOR="white" CLASS="TableRowColor"> 203 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 204 <CODE> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><<A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.html" title="type parameter in ImmutableSetMultimap">V</A>></CODE></FONT></TD> 205 <TD><CODE><B>ImmutableSetMultimap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.html#get(K)">get</A></B>(<A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.html" title="type parameter in ImmutableSetMultimap">K</A> key)</CODE> 206 207 <BR> 208 Returns an immutable set of the values for the given key.</TD> 209 </TR> 210 <TR BGCOLOR="white" CLASS="TableRowColor"> 211 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 212 <CODE> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><<A HREF="../../../../../com/google/common/collect/Sets.SetView.html" title="type parameter in Sets.SetView">E</A>></CODE></FONT></TD> 213 <TD><CODE><B>Sets.SetView.</B><B><A HREF="../../../../../com/google/common/collect/Sets.SetView.html#immutableCopy()">immutableCopy</A></B>()</CODE> 214 215 <BR> 216 Returns an immutable copy of the current contents of this set view.</TD> 217 </TR> 218 <TR BGCOLOR="white" CLASS="TableRowColor"> 219 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 220 <CODE>static 221 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 222 <TR ALIGN="right" VALIGN=""> 223 <TD NOWRAP><FONT SIZE="-1"> 224 <CODE><E extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A><E>> 225 <BR> 226 <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><E></CODE></FONT></TD> 227 </TR> 228 </TABLE> 229 </CODE></FONT></TD> 230 <TD><CODE><B>Sets.</B><B><A HREF="../../../../../com/google/common/collect/Sets.html#immutableEnumSet(E, E...)">immutableEnumSet</A></B>(E anElement, 231 E... otherElements)</CODE> 232 233 <BR> 234 Returns an immutable set instance containing the given enum elements.</TD> 235 </TR> 236 <TR BGCOLOR="white" CLASS="TableRowColor"> 237 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 238 <CODE>static 239 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 240 <TR ALIGN="right" VALIGN=""> 241 <TD NOWRAP><FONT SIZE="-1"> 242 <CODE><E extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A><E>> 243 <BR> 244 <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><E></CODE></FONT></TD> 245 </TR> 246 </TABLE> 247 </CODE></FONT></TD> 248 <TD><CODE><B>Sets.</B><B><A HREF="../../../../../com/google/common/collect/Sets.html#immutableEnumSet(java.lang.Iterable)">immutableEnumSet</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><E> elements)</CODE> 249 250 <BR> 251 Returns an immutable set instance containing the given enum elements.</TD> 252 </TR> 253 <TR BGCOLOR="white" CLASS="TableRowColor"> 254 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 255 <CODE>abstract <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><<A HREF="../../../../../com/google/common/collect/ImmutableMap.html" title="type parameter in ImmutableMap">K</A>></CODE></FONT></TD> 256 <TD><CODE><B>ImmutableMap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableMap.html#keySet()">keySet</A></B>()</CODE> 257 258 <BR> 259 Returns an immutable set of the keys in this map.</TD> 260 </TR> 261 <TR BGCOLOR="white" CLASS="TableRowColor"> 262 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 263 <CODE> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><<A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html" title="type parameter in ImmutableBiMap">K</A>></CODE></FONT></TD> 264 <TD><CODE><B>ImmutableBiMap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html#keySet()">keySet</A></B>()</CODE> 265 266 <BR> 267 </TD> 268 </TR> 269 <TR BGCOLOR="white" CLASS="TableRowColor"> 270 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 271 <CODE> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><<A HREF="../../../../../com/google/common/collect/ImmutableMultimap.html" title="type parameter in ImmutableMultimap">K</A>></CODE></FONT></TD> 272 <TD><CODE><B>ImmutableMultimap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableMultimap.html#keySet()">keySet</A></B>()</CODE> 273 274 <BR> 275 Returns an immutable set of the distinct keys in this multimap.</TD> 276 </TR> 277 <TR BGCOLOR="white" CLASS="TableRowColor"> 278 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 279 <CODE>static 280 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 281 <TR ALIGN="right" VALIGN=""> 282 <TD NOWRAP><FONT SIZE="-1"> 283 <CODE><E> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><E></CODE></FONT></TD> 284 </TR> 285 </TABLE> 286 </CODE></FONT></TD> 287 <TD><CODE><B>ImmutableSet.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSet.html#of()">of</A></B>()</CODE> 288 289 <BR> 290 Returns the empty immutable set.</TD> 291 </TR> 292 <TR BGCOLOR="white" CLASS="TableRowColor"> 293 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 294 <CODE>static 295 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 296 <TR ALIGN="right" VALIGN=""> 297 <TD NOWRAP><FONT SIZE="-1"> 298 <CODE><E> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><E></CODE></FONT></TD> 299 </TR> 300 </TABLE> 301 </CODE></FONT></TD> 302 <TD><CODE><B>ImmutableSet.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSet.html#of(E...)">of</A></B>(E... elements)</CODE> 303 304 <BR> 305 Returns an immutable set containing the given elements, in order.</TD> 306 </TR> 307 <TR BGCOLOR="white" CLASS="TableRowColor"> 308 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 309 <CODE>static 310 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 311 <TR ALIGN="right" VALIGN=""> 312 <TD NOWRAP><FONT SIZE="-1"> 313 <CODE><E> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><E></CODE></FONT></TD> 314 </TR> 315 </TABLE> 316 </CODE></FONT></TD> 317 <TD><CODE><B>ImmutableSet.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSet.html#of(E)">of</A></B>(E element)</CODE> 318 319 <BR> 320 Returns an immutable set containing a single element.</TD> 321 </TR> 322 <TR BGCOLOR="white" CLASS="TableRowColor"> 323 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 324 <CODE>static 325 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 326 <TR ALIGN="right" VALIGN=""> 327 <TD NOWRAP><FONT SIZE="-1"> 328 <CODE><E> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><E></CODE></FONT></TD> 329 </TR> 330 </TABLE> 331 </CODE></FONT></TD> 332 <TD><CODE><B>ImmutableSet.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSet.html#of(E, E)">of</A></B>(E e1, 333 E e2)</CODE> 334 335 <BR> 336 Returns an immutable set containing the given elements, in order.</TD> 337 </TR> 338 <TR BGCOLOR="white" CLASS="TableRowColor"> 339 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 340 <CODE>static 341 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 342 <TR ALIGN="right" VALIGN=""> 343 <TD NOWRAP><FONT SIZE="-1"> 344 <CODE><E> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><E></CODE></FONT></TD> 345 </TR> 346 </TABLE> 347 </CODE></FONT></TD> 348 <TD><CODE><B>ImmutableSet.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSet.html#of(E, E, E)">of</A></B>(E e1, 349 E e2, 350 E e3)</CODE> 351 352 <BR> 353 Returns an immutable set containing the given elements, in order.</TD> 354 </TR> 355 <TR BGCOLOR="white" CLASS="TableRowColor"> 356 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 357 <CODE>static 358 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY=""> 359 <TR ALIGN="right" VALIGN=""> 360 <TD NOWRAP><FONT SIZE="-1"> 361 <CODE><E> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><E></CODE></FONT></TD> 362 </TR> 363 </TABLE> 364 </CODE></FONT></TD> 365 <TD><CODE><B>ImmutableSet.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSet.html#of(E, E, E, E)">of</A></B>(E e1, 366 E e2, 367 E e3, 368 E e4)</CODE> 369 370 <BR> 371 Returns an immutable set containing the given elements, in order.</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><E> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><E></CODE></FONT></TD> 380 </TR> 381 </TABLE> 382 </CODE></FONT></TD> 383 <TD><CODE><B>ImmutableSet.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSet.html#of(E, E, E, E, E)">of</A></B>(E e1, 384 E e2, 385 E e3, 386 E e4, 387 E e5)</CODE> 388 389 <BR> 390 Returns an immutable set containing the given elements, in order.</TD> 391 </TR> 392 <TR BGCOLOR="white" CLASS="TableRowColor"> 393 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 394 <CODE> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><<A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.html" title="type parameter in ImmutableSetMultimap">V</A>></CODE></FONT></TD> 395 <TD><CODE><B>ImmutableSetMultimap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.html#removeAll(java.lang.Object)">removeAll</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A> key)</CODE> 396 397 <BR> 398 Guaranteed to throw an exception and leave the multimap unmodified.</TD> 399 </TR> 400 <TR BGCOLOR="white" CLASS="TableRowColor"> 401 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 402 <CODE> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><<A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.html" title="type parameter in ImmutableSetMultimap">V</A>></CODE></FONT></TD> 403 <TD><CODE><B>ImmutableSetMultimap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.html#replaceValues(K, java.lang.Iterable)">replaceValues</A></B>(<A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.html" title="type parameter in ImmutableSetMultimap">K</A> key, 404 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</A><? extends <A HREF="../../../../../com/google/common/collect/ImmutableSetMultimap.html" title="type parameter in ImmutableSetMultimap">V</A>> values)</CODE> 405 406 <BR> 407 Guaranteed to throw an exception and leave the multimap unmodified.</TD> 408 </TR> 409 <TR BGCOLOR="white" CLASS="TableRowColor"> 410 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 411 <CODE> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect">ImmutableSet</A><<A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html" title="type parameter in ImmutableBiMap">V</A>></CODE></FONT></TD> 412 <TD><CODE><B>ImmutableBiMap.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableBiMap.html#values()">values</A></B>()</CODE> 413 414 <BR> 415 Returns an immutable set of the values in this map.</TD> 416 </TR> 417 </TABLE> 418 419 <P> 420 <HR> 421 422 423 <!-- ======= START OF BOTTOM NAVBAR ====== --> 424 <A NAME="navbar_bottom"><!-- --></A> 425 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 426 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 427 <TR> 428 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 429 <A NAME="navbar_bottom_firstrow"><!-- --></A> 430 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 431 <TR ALIGN="center" VALIGN="top"> 432 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 433 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 434 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../com/google/common/collect/ImmutableSet.html" title="class in com.google.common.collect"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> 435 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD> 436 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 437 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 438 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 439 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 440 </TR> 441 </TABLE> 442 </TD> 443 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 444 </EM> 445 </TD> 446 </TR> 447 448 <TR> 449 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 450 PREV 451 NEXT</FONT></TD> 452 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 453 <A HREF="../../../../../index.html?com/google/common/collect//class-useImmutableSet.html" target="_top"><B>FRAMES</B></A> 454 <A HREF="ImmutableSet.html" target="_top"><B>NO FRAMES</B></A> 455 <SCRIPT type="text/javascript"> 456 <!-- 457 if(window==top) { 458 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 459 } 460 //--> 461 </SCRIPT> 462 <NOSCRIPT> 463 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> 464 </NOSCRIPT> 465 466 467 </FONT></TD> 468 </TR> 469 </TABLE> 470 <A NAME="skip-navbar_bottom"></A> 471 <!-- ======== END OF BOTTOM NAVBAR ======= --> 472 473 <HR> 474 475 </BODY> 476 </HTML> 477