public void pushBack(Object obj) {
        if (head == null) {
            head = tail = new Node(null, null, obj);
        } else {
            Node newNode = new Node(tail, null, obj);
            tail.setNextNode(newNode);
            tail = newNode;
        }
    }