package com.anuragkapur.pie.linkedlists;

/**
 * @author anuragkapur
 */
public class LinkedListElement<E> {

    private E data;
    private LinkedListElement<E> next;

    public E getData() {
        return data;
    }

    public void setData(E data) {
        this.data = data;
    }

    public LinkedListElement<E> getNext() {
        return next;
    }

    public void setNext(LinkedListElement<E> next) {
        this.next = next;
    }
}

@@ -163,16 +163,128 @@
  next;%0A%0A
+    public LinkedListElement() %7B%0A    %7D%0A%0A    public LinkedListElement(E data) %7B%0A        this.data = data;%0A    %7D%0A%0A
     publ

Add convenience constructor