title: Class Object vs Hashmap
body: <p>Is it good to use hashmap instead of using the object class......
  Using Hashmap....</p>
  
  <pre><code>Map&lt;String, String&gt; cellMap = new HashMap&lt;String, String&gt;();
  int j = 0;
  while (cellIter.hasNext()) 
  {
     HSSFCell myCell = (HSSFCell) cellIter.next();
     cellMap.put(columnMap[j], myCell.toString());
     j++;
  }
  </code></pre>
  
  <p>And using object class.....</p>
  
  <pre><code>ABC abc= new ABC(); 
  abc.setA(myRow.getCell(0).toString());
  abc.setB(myRow.getCell(1).toString());
  abc.setC(myRow.getCell(2).toString());
  </code></pre>
  
  <p>Please tell me in the context of application health, memory requirement etc ...</p>