title: Map.Entry next method?
body: <p>I'm looking at the source code for JDK 7 - specifically WeakHashMap.java, where there is extensive use of this:</p>
  
  <pre><code>Entry&lt;K,V&gt; p = prev;
  Entry&lt;K,V&gt; next = p.next;
  </code></pre>
  
  <p>but next isn't a method defined on Map.Entry (as far as I can see? <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html" rel="nofollow">http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html</a>) </p>
  
  <p>Where is the call to this method coming from then?</p>