public void rimuovi(T x) {
		AlberoBin<T> curr = cercaNodo(x);
		if (curr == null || !curr.val().equals(x)) return;
		if (curr.sin() == null || curr.des() == null)
			rimuoviNodo(curr);
		else {
			AlberoBin<T> curr2 = max(curr.sin());
			curr.setVal(curr2.val());
			rimuoviNodo(curr2);
		}
	}