title: How to store a value in HashMap (Android)?
body: <p>im worked in soap message, using SAXparser to retrieve the value(from Webservice) stored in ArrayList and the ArrayList working fine, but i want to store in HashMap, because Using key to identify a each name has certain SystemId, Please any one help me</p>
  
  <pre><code>Thanks
  
  I tried the code:
  
      public class SitesList 
      {
      private ArrayList&lt;String&gt; name = new ArrayList&lt;String&gt;();
  private ArrayList&lt;String&gt; systemid = new ArrayList&lt;String&gt;();
  
      //Map &lt;String,String&gt; map =  new HashMap&lt;String,String&gt;();
  
      public ArrayList&lt;String&gt;  getName()
  {
      return name;
  }
  
  public void setName(String nameString)   
  {
      this.name.add(nameString);
  
      System.out.println("name  "+ name); 
  
  }
  
  public ArrayList&lt;String&gt;  getSystemId()
  {
      return systemid;
  }
  
  public void setSystemId(String systemidString)   
  {
      this.systemid.add(systemidString);
  
          System.out.println("systemid  "+systemid);
  
  
    }
  </code></pre>