title: Method hashMapOf() in Kotlin
body: <p>Can anybody please give me Concrete example of <code>hashMapOf()</code> method and when should I use it?</p>
  
  <p>If i do something like this:</p>
  
  <pre><code>val map2 : HashMap&lt;String, String&gt;  = hashMapOf()
      map2["ok"] = "yes"
  </code></pre>
  
  <p>It means to initialize <strong>map2</strong> property I can use it.</p>
  
  <p>But like other method in Kotlin for example:</p>
  
  <pre><code>val arr = arrayListOf&lt;String&gt;("1", "2", "3")
  </code></pre>
  
  <p>Is there any way I can use this method like above?</p>