public class DLLNodeInt {
    private int data;
    private DLLNodeInt next;
    private DLLNodeInt previous;

    public int getData() {
        return data;
    }

    public DLLNodeInt getNext() {
        return next;
    }
    public DLLNodeInt getPrevious() {
        return previous;
    }

    public void setData(int newValue) {
        data = newValue;
    }

    public void setNext(DLLNodeInt newNext) {
        next = newNext;
    }
    public void setPrevious(DLLNodeInt newNext) {
        previous = newNext;
    }

    public DLLNodeInt() {
        data = 0;
        next = null;
		previous = null;
    }

    public DLLNodeInt(int newData) {
        data = newData;
        next = null;
    }
}
