title: How to initialize HashSet values by construction?
body: <p>I need to create a <code>Set</code> with initial values.</p>
  
  <pre><code>Set&lt;String&gt; h = new HashSet&lt;String&gt;();
  h.add("a");
  h.add("b");
  </code></pre>
  
  <p>Is there a way to do this in one line of code? For instance, it's useful for a final static field.</p>