title: cast a List to a Collection
body: <p>i have some pb. I want to cast a List to Collection in java</p>
  
  <pre><code>Collection&lt;T&gt; collection = new Collection&lt;T&gt;(mylList); 
  </code></pre>
  
  <p>but i have this error</p>
  
  <blockquote>
    <p>Can not instantiate the type Collection </p>
  </blockquote>