title: Compare values between two list elements of same list
body: <p>I need to conduct a comparison of values within a List of the following type;</p>
  
  <pre><code>List&lt;org.bson.Document&gt;
  </code></pre>
  
  <p>The data is a Bson Document with two key:value pairs (name and score).  I need to iterate through this List and remove the lowest of the scores each golfer has made. So, if Joe has played two games and the first game he scored 72 and the second game he scored 86, because this is golf and 86 is the lower of the two scores, I need to remove the element from the List that has the score 86.  This will then leave just the higher of the two for each golfer and allow me to then compare only the high scores (lower numerical value).</p>
  
  <p>What is the best way to do this using any newer capabilities of Java 1.8 or, am I going to have to duplicate the list and then compare element x in List A to element x+1 in List B (after proper sorting) while names are equal?</p>