title: stream list into a set
body: <p>I am looking to refactor how I have used a stream in some of my code.  The first example is how I currently have done it.  The second example is what im trying to make it look like.</p>
  
  <pre><code>Set&lt;String&gt; results = new HashSet&lt;String&gt;();
  
  someDao.findByType(type)
              .stream()
              .forEach(t-&gt; result.add(t.getSomeMethodValue()) );
  </code></pre>
  
  <p>Could it look something like this?  If so how do I make it do it?</p>
  
  <pre><code>Set&lt;String&gt; results = someDao.findByType(type)
              .stream()
              .collect(  /*  ?? no sure what to put here  */ );
  </code></pre>