      private void siftDown(int k, E element) {// implementation }
                           private void siftUp(int k, E element)  {// implementation }
                        }
                        </code></pre>
            </section>
        
            <section>
                <h1>Interface und Implementation: Beispiel in Java</h1>
                <pre><code data-trim class="java">
                           interface PriorityQueue&lt;E&gt; {
        
                               public void add