title: Retrieve Nested Hashmap data from yaml file
body: <p>i have following yaml Data</p>
  
  <pre><code>networkLayerConfig: 
      eventMap: !!map
        !!int 100 : 
          !!int 1 : IDLING
          !!int 2 : ACCEPTING
  </code></pre>
  
  <p>I use yamlbean to read this data to the following class</p>
  
  <pre><code>class NetworkLayerConfig {
      private HashMap&lt;Integer, Map&lt;Integer, String&gt;&gt; eventMap;
  }
  </code></pre>
  
  <p>I trying to access every key and its associated value pair.</p>
  
  <p>If i try to access these data when it is declared in java class itself like</p>
  
  <pre><code>myHashMap = new HashMap&lt;Integer, Map&lt;Integer, String&gt;&gt;();
  myHashMap.put(100, new HashMap&lt;Integer, String&gt;());
  myHashMap.get(100).put(1, "IDLING");
  myHashMap.get(100).put(2, "ACCEPTING");
  </code></pre>
  
  <p>using this following code</p>
  
  <pre><code>for (Map.Entry&lt;Integer, String&gt; oneMap : myHashMap.get(100).entrySet()) {
      System.out.println(oneMap.getKey());
      System.out.println(oneMap.getValue());
  }
  </code></pre>
  
  <p>since i have to read the value 100 from the yaml file only (i.e, during runtime) i don't know how to access every data.</p>