title: Java Iterable<Iterable<T>> to ArrayList<ArrayList<T>>
body: <p>Maybe I am missing something but I thought that If I declare my class as such:</p>
  
  <pre><code>public class Something&lt;T&gt; implements Iterable&lt;Iterable&lt;T&gt;&gt; {
    public Something(Iterable&lt;Iterable&lt;T&gt;&gt; input) {
    ...
  </code></pre>
  
  <p>I should be able to instantiate it as such:</p>
  
  <pre><code>ArrayList&lt;ArrayList&lt;String&gt;&gt; l = new ArrayList&lt;ArrayList&lt;String&gt;&gt;();
  
  Something&lt;String&gt; s = Something&lt;String&gt;(l);
  </code></pre>
  
  <p>Unfortunately this gimes me an error. I thought ArrayLists are Iterable so that should map exactly to my constructor definition.</p>