re><code data-trim class="java">
                        interface List&lt;E&gt; {
                            int size();
                            int isEmpty();
                            void add(E element);
                            ...
                        }
                        </code></pre>
                <pre><code data-trim class="java">
                        class LinkedList&lt;E&gt; implements List&lt;E&gt; {
                            private static class Node&lt;E&gt; {
        