title: Storing data in a collection
body: <p>I have one requirement that is I have to store the employee data in in java collection</p>
  
  <pre><code>EmpId  EmpName EmpSalary
  101     xxxxx    80000
  101     yyyyy    40000
  101     ddddd    60000 
  101     zzzzz    80000
  </code></pre>
  
  <p>As shown above that <code>EmpId</code> is of <code>int</code> type and <code>EmpName</code> is of <code>String</code> type and <code>EmpSalary</code> is again of <code>int</code> type.</p>
  
  <p>I was planning to store them in a Java collection, which might be generic. I have  a pojo with me having the three fields and their setters and getters.</p>
  
  <p>Which java collection will be best suited for this requirement?</p>
  
  <p>In my case ID field is not unique</p>