title: Create a List of primitive int?
body: <p>Is there a way to create a list of primitive int or any primitives in java like following? </p>
  
  <pre><code>List&lt;int&gt; myList = new ArrayList&lt;int&gt;();
  </code></pre>
  
  <p>It seems I can do <code>List myList = new ArrayList();</code></p>
  
  <p>and add "int" into this list. But then this would mean I can add anything into this list. </p>
  
  <p>Is my only option, creating an array of int and converting it into a list or creating a list of Integer objects? </p>