title: Merge two list (java 7)
body: <p>I have two lists of <code>Personne</code>:  <code>listOne</code> and <code>listTwo</code>.</p>
  
  <p><code>Personne</code> is:</p>
  
  <pre><code>public class Personne{
      private String name;
      private Favorite favorite;
      private Collection&lt;Number&gt;  numbers;
  }
  
  public class Favorite{
      private String id;
      private String name;
      ...
  }
  </code></pre>
  
  <p>For each item, I want to merge the two lists if the favorite name and id of the first list equals the favorite name and id of the second list, and then merge the second list to first.</p>
  
  <p>This is a part of my treatement and what i means by merge (its not create an other list ) :</p>
  
  <p>if my condition is true i want to take item of my first list :</p>
  
  <pre><code>item.setNumbers(item2.getnumbers);
  </code></pre>
  
  <p>What is the best way to do this with Java 7?</p>