</BUG>
return false;
}
if (!heap.validate() || (heap.size() != half-(i+1))) {
System.err.println(name+" YIKES!! " + item + " caused a size mismatch.");
<BUG>Utils.handleError(heap);
</BUG>
return false;
}
if (heap.contains(item)) {

T item = heap.removeHead();
Integer _correct = quarterArray[i];
T correct = Utils.parseT(_correct, type);
if (item.compareTo(correct)!=0) {
System.err.println(name+" YIKES!! " + item + " does not match heap item.");
Utils.handleError(unsorted,heap);
return false;
}
if (!heap.validate() || (heap.size() != half-(i+1))) {
System.err.println(name+" YIKES!! " + item + " caused a size mismatch.");
Utils.handleError(unsorted,heap);
return false;
}
if (heap.contains(item)) {
