title: ArrayList search value
body: <p>I have an arraylist which is conformed of objects which have a name and a value
  so the arraylist is:</p>
  <pre><code>name  value
  A     1
  B     10
  C     23
  D     45
  </code></pre>
  <p>How would you loop the ArrayList searching for 2 names like C and D, and get their respective values: 23, and 45?</p>