title: Java List generics syntax for primitive types
body: <p>I want to make a growable array of bytes. I.e a list.
  In c# would usally do the following syntax</p>
  
  <pre><code>List&lt;byte&gt; mylist = new List&lt;byte&gt;();
  </code></pre>
  
  <p>where as in java this syntax does not work and I have googled around and found the below code</p>
  
  <pre><code>List myList = new ArrayList();
  </code></pre>
  
  <p>but that is not what I want. Any idea's where I am going wrong?</p>