public boolean replace(int index, T newV) {
		if (index < 0 || index >= size)
			return false;

		T oldV = heap.get(index).element();

		heap.get(index).setElement(newV);

		if (comp.compare(oldV, newV) < 0)
			trickleUp(index);
		else
			trickleDown(index);
		return true;
	}