title: "Iterable<Element> cannot be cast to List<Element>" - Isn't `List` a type of `Iterable`?
body: <p>I called a <code>getElements</code> method which returns <code>Iterable&lt;Element&gt;</code>.</p>
  
  <p>I did this:</p>
  
  <pre><code>List&lt;Element&gt; elements = (List&lt;Element&gt;) getElements();
  </code></pre>
  
  <p>This generates the error:</p>
  
  <pre><code>java.lang.ClassCastException: com.utesy.Element$3 
  cannot be cast to java.util.List
  </code></pre>
  
  <p><strong>I thought a <code>List</code> was a type of <code>Iterable</code>?</strong></p>