title: Java HasMap data structure
body: <p>I have a file like this (with two types of delimiters "," and ":"):</p>
  
  <pre><code>Name,Animal,Spieces,ABB,Score
  jane,monkey,mammal,MA,1:2:4
  susan,monkey,mammal,MA,11:2b:4
  bob,spider,insect,IN,1a:2
  </code></pre>
  
  <p>And classes to store data into objects like this:</p>
  
  <pre><code>Class  Spiecies {
      private String spieces;
      private String abb; //unique for each spieces
      private List&lt;Animal&gt;;
  
     //getters setters
   }
  
  Class Animal {
      private String name;
      private String animal;
      private List&lt;Score&gt;;
  
      //getters setters
  }
  
  Class Score {
      private String points;
  
      //getters setters
  }
  </code></pre>
  
  <p>To retrieve data from file, I want to use HashMap, List ... or some data structure and store data like this:</p>
  
  <pre><code>HasMap&lt;String Spieces,HasMap&lt;String Animal, List&lt;Score&gt;&gt;&gt; 
  </code></pre>
  
  <p>where data will be stored like this:
  <code>mammal -&gt; [ monkey, jane -&gt; 1:2:4 ],[ monkey, susan -&gt; 11:2b:4 ]</code> ... etc</p>
  
  <p>Is this correct to store data like this? And how to put ABB into Map?</p>