Nodos
} E removedItem = head.getElement(); if (head == tail) { head = tail = null; } else { head = head.getNext(); head.setPrevious(null); } size--; return removedItem; } public E removeLast() throws UnderflowException { if (isEmpty()) { throw new UnderflowException(); } E removedItem = tail.getElement(); if (head == tail) { head = tail = null; } else { DNode penultimo = tail.getPrevious(); tail = penultimo; tail.setNext(null); } size--; return