/guava/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
return parentIndex; queue[parentIndex] = x;queue[index] = parentElement;
queue[index] = parentElement; queue[parentIndex] = x; return parentIndex;
parentIndex = auntIndex; parentElement = auntElement; } } } if (ordering.compare(parentElement, x) < 0) { <extra_id_0> } queue[index] = x; return index; } int swapWithConceptuallyLastElement(E actualLastElement) { int parentIndex = getParentIndex(size);