title: Java stream - find unique elements
body: <p>I have <code>List&lt;Person&gt; persons = new ArrayList&lt;&gt;();</code> and I want to list all unique names. I mean If there are "John", "Max", "John", "Greg" then I want to list only "Max" and "Greg". Is there some way to do it with Java stream?</p>