protected DLLNode deleteNode(int arg0){
		DLLNode temp = getNode(arg0);
		if(temp == null){
			throw new NullPointerException();
		}
		else if(size == 1){
			clear();
			return null;
		}
		else if(temp.prev == null){
			deleteHead(temp);
			return null;
		}
		else if(temp.next == null){
			deleteTail(temp);
			return null;
		}
		else{
			deleteGeneral(temp);
			return null;
		}
	}