/guava/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
return -1;
if ( index >= size ) { return -1; }
index = grandParentIndex; } queue[index] = x; return index; } int findMin(int index, int len) { <extra_id_0> checkState(index > 0); int limit = Math.min(index, size - len) + len; int minIndex = index; for (int i = index + 1; i < limit; i++) { if (compareElements(i, minIndex) < 0) { minIndex = i;