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