Home | History | Annotate | Download | only in class-use
      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.Builder (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.Builder (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>&nbsp;</TD>
     41   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
     42   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html" title="class in com.google.common.collect"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
     43   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
     44   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
     45   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
     46   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
     47   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</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 &nbsp;PREV&nbsp;
     59 &nbsp;NEXT</FONT></TD>
     60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
     61   <A HREF="../../../../../index.html?com/google/common/collect//class-useImmutableSet.Builder.html" target="_top"><B>FRAMES</B></A>  &nbsp;
     62 &nbsp;<A HREF="ImmutableSet.Builder.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
     63 &nbsp;<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.Builder</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.Builder.html" title="class in com.google.common.collect">ImmutableSet.Builder</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.&nbsp;</TD>
     96 </TR>
     97 </TABLE>
     98 &nbsp;
     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.Builder.html" title="class in com.google.common.collect">ImmutableSet.Builder</A> in <A HREF="../../../../../com/google/common/collect/package-summary.html">com.google.common.collect</A></FONT></TH>
    105 </TR>
    106 </TABLE>
    107 &nbsp;
    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.Builder.html" title="class in com.google.common.collect">ImmutableSet.Builder</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>static&nbsp;class</CODE></FONT></TD>
    117 <TD><CODE><B><A HREF="../../../../../com/google/common/collect/ImmutableSortedSet.Builder.html" title="class in com.google.common.collect">ImmutableSortedSet.Builder&lt;E&gt;</A></B></CODE>
    118 
    119 <BR>
    120 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;A builder for creating immutable sorted set instances, especially
    121  <code>public static final</code> sets ("constant sets"), with a given
    122  comparator.</TD>
    123 </TR>
    124 </TABLE>
    125 &nbsp;
    126 <P>
    127 
    128 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    129 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
    130 <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.Builder.html" title="class in com.google.common.collect">ImmutableSet.Builder</A></FONT></TH>
    131 </TR>
    132 <TR BGCOLOR="white" CLASS="TableRowColor">
    133 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    134 <CODE>&nbsp;<A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html" title="class in com.google.common.collect">ImmutableSet.Builder</A>&lt;<A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html" title="type parameter in ImmutableSet.Builder">E</A>&gt;</CODE></FONT></TD>
    135 <TD><CODE><B>ImmutableSet.Builder.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html#add(E...)">add</A></B>(<A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html" title="type parameter in ImmutableSet.Builder">E</A>...&nbsp;elements)</CODE>
    136 
    137 <BR>
    138 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds each element of <code>elements</code> to the <code>ImmutableSet</code>,
    139  ignoring duplicate elements (only the first duplicate element is added).</TD>
    140 </TR>
    141 <TR BGCOLOR="white" CLASS="TableRowColor">
    142 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    143 <CODE>&nbsp;<A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html" title="class in com.google.common.collect">ImmutableSet.Builder</A>&lt;<A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html" title="type parameter in ImmutableSet.Builder">E</A>&gt;</CODE></FONT></TD>
    144 <TD><CODE><B>ImmutableSet.Builder.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html#add(E)">add</A></B>(<A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html" title="type parameter in ImmutableSet.Builder">E</A>&nbsp;element)</CODE>
    145 
    146 <BR>
    147 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds <code>element</code> to the <code>ImmutableSet</code>.</TD>
    148 </TR>
    149 <TR BGCOLOR="white" CLASS="TableRowColor">
    150 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    151 <CODE>&nbsp;<A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html" title="class in com.google.common.collect">ImmutableSet.Builder</A>&lt;<A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html" title="type parameter in ImmutableSet.Builder">E</A>&gt;</CODE></FONT></TD>
    152 <TD><CODE><B>ImmutableSet.Builder.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html#addAll(java.lang.Iterable)">addAll</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>&lt;? extends <A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html" title="type parameter in ImmutableSet.Builder">E</A>&gt;&nbsp;elements)</CODE>
    153 
    154 <BR>
    155 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds each element of <code>elements</code> to the <code>ImmutableSet</code>,
    156  ignoring duplicate elements (only the first duplicate element is added).</TD>
    157 </TR>
    158 <TR BGCOLOR="white" CLASS="TableRowColor">
    159 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    160 <CODE>&nbsp;<A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html" title="class in com.google.common.collect">ImmutableSet.Builder</A>&lt;<A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html" title="type parameter in ImmutableSet.Builder">E</A>&gt;</CODE></FONT></TD>
    161 <TD><CODE><B>ImmutableSet.Builder.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html#addAll(java.util.Iterator)">addAll</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>&lt;? extends <A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html" title="type parameter in ImmutableSet.Builder">E</A>&gt;&nbsp;elements)</CODE>
    162 
    163 <BR>
    164 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds each element of <code>elements</code> to the <code>ImmutableSet</code>,
    165  ignoring duplicate elements (only the first duplicate element is added).</TD>
    166 </TR>
    167 <TR BGCOLOR="white" CLASS="TableRowColor">
    168 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    169 <CODE>static
    170 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" SUMMARY="">
    171 <TR ALIGN="right" VALIGN="">
    172 <TD NOWRAP><FONT SIZE="-1">
    173 <CODE>&lt;E&gt; <A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html" title="class in com.google.common.collect">ImmutableSet.Builder</A>&lt;E&gt;</CODE></FONT></TD>
    174 </TR>
    175 </TABLE>
    176 </CODE></FONT></TD>
    177 <TD><CODE><B>ImmutableSet.</B><B><A HREF="../../../../../com/google/common/collect/ImmutableSet.html#builder()">builder</A></B>()</CODE>
    178 
    179 <BR>
    180 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a new builder.</TD>
    181 </TR>
    182 </TABLE>
    183 &nbsp;
    184 <P>
    185 <HR>
    186 
    187 
    188 <!-- ======= START OF BOTTOM NAVBAR ====== -->
    189 <A NAME="navbar_bottom"><!-- --></A>
    190 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
    191 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
    192 <TR>
    193 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
    194 <A NAME="navbar_bottom_firstrow"><!-- --></A>
    195 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
    196   <TR ALIGN="center" VALIGN="top">
    197   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
    198   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
    199   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../com/google/common/collect/ImmutableSet.Builder.html" title="class in com.google.common.collect"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A>&nbsp;</TD>
    200   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT>&nbsp;</TD>
    201   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
    202   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
    203   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
    204   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
    205   </TR>
    206 </TABLE>
    207 </TD>
    208 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
    209 </EM>
    210 </TD>
    211 </TR>
    212 
    213 <TR>
    214 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    215 &nbsp;PREV&nbsp;
    216 &nbsp;NEXT</FONT></TD>
    217 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    218   <A HREF="../../../../../index.html?com/google/common/collect//class-useImmutableSet.Builder.html" target="_top"><B>FRAMES</B></A>  &nbsp;
    219 &nbsp;<A HREF="ImmutableSet.Builder.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
    220 &nbsp;<SCRIPT type="text/javascript">
    221   <!--
    222   if(window==top) {
    223     document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
    224   }
    225   //-->
    226 </SCRIPT>
    227 <NOSCRIPT>
    228   <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
    229 </NOSCRIPT>
    230 
    231 
    232 </FONT></TD>
    233 </TR>
    234 </TABLE>
    235 <A NAME="skip-navbar_bottom"></A>
    236 <!-- ======== END OF BOTTOM NAVBAR ======= -->
    237 
    238 <HR>
    239 
    240 </BODY>
    241 </HTML>
    242