title: Java: convert List<String> to a join()d String
body: <p>JavaScript has <code>Array.join()</code></p>
  <pre><code>js&gt;[&quot;Bill&quot;,&quot;Bob&quot;,&quot;Steve&quot;].join(&quot; and &quot;)
  Bill and Bob and Steve
  </code></pre>
  <p>Does Java have anything like this? I know I can cobble something up myself with <code>StringBuilder</code>:</p>
  <pre><code>static public String join(List&lt;String&gt; list, String conjunction)
  {
     StringBuilder sb = new StringBuilder();
     boolean first = true;
     for (String item : list)
     {
        if (first)
           first = false;
        else
           sb.append(conjunction);
        sb.append(item);
     }
     return sb.toString();
  }
  </code></pre>
  <p>.. but there's no point in doing this if something like it is already part of the JDK.</p>