title: Type accepting any collection
body: <p>I have collection of <code>Set</code> and <code>List</code> so how can call a function who accept any type of collection ?</p>
  
  <pre><code>Set&lt;X&gt; myset = ...;
  myfunction(myset);
  
  List&lt;X&gt; mylist = ...;
  myfunction(mylist);
  
  myfunction(T collection){
  }
  </code></pre>
  
  <p>So what would be the type of T ?</p>