title: Java 8 Stream find objects in list that match some properties
body: <p>Let's say I have the next list</p>
  
  <pre><code>List&lt;MyData&gt; list = new ArrayList&lt;&gt;();
  list.add(new MyData("id1", "name1", "secondName1", "phone1", "address1");
  list.add(new MyData("id2", "name2", "secondName1", "phone2", "address2");
  list.add(new MyData("id3", "name3", "secondName3", "phone1", "address1");
  list.add(new MyData("id4", "name4", "secondName4", "phone4", "address4");
  </code></pre>
  
  <p>Using Java8 streams, I want to find in my list which items have the same phone and same address.</p>
  
  <p>I've seen in this forum a lot of solutions to reduce lists filtering only by one property, but I need to match <strong>two or more properties</strong>.</p>