title: Searching an ArrayList for employee number
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/985229/search-in-java-arraylist">search in java ArrayList</a>  </p>
  </blockquote>
  
  
  
  <p>If I have an <code>ArrayList</code> of employee objects and each object contains a string: <code>employeeName</code> and long: <code>employeeNumber</code>. </p>
  
  <p>How do I search the list for an employee given their employee number and return the employee object?</p>