title: grouping data in java
body: <p>is there someway we can group similar data in java?</p>
  
  <p>i want to group all the data with same id and print it out.</p>
  
  <p>i am querying for the data using jdbc and was searching for a library i could use for this.</p>
  
  <p>any idea?
  thanks</p>