</BUG>
return false;
}
if (!added || !heap.contains(item)) {
System.err.println(name+" YIKES!! " + item + " doesn't exists but has been added.");
<BUG>Utils.handleError(heap);
</BUG>
return false;
}
}

Integer _item = threeQuartersArray[i];
T item = Utils.parseT(_item, type);
boolean added = heap.add(item);
if (!heap.validate() || (heap.size() != (half-quarter)+(i+1))) {
System.err.println(name+" YIKES!! " + item + " caused a size mismatch.");
Utils.handleError(unsorted,heap);
return false;
}
if (!added || !heap.contains(item)) {
System.err.println(name+" YIKES!! " + item + " doesn't exists but has been added.");
Utils.handleError(unsorted,heap);
return false;
}
}
