title: ArrayMap versus HashMap
body: <p>what is the main difference with <code>org.apache.myfaces.trinidad.util.ArrayMap</code> and <code>java.util.HashMap</code>?</p>
  
  <p>Is ArrayMap is thread safe?</p>
  
  <p>In the documentation it is mentioned that Array is best in performance wise.</p>
  
  <p>I don't want to use hashmap or concurrent hashmap. I want to try other like below. which one is best alternative If I consider Thread safety and performance?</p>
  
  <pre><code>ArrayMap&lt;String,String&gt; var= new ArrayMap&lt;String,String&gt;(); 
  </code></pre>