Home
last modified time | relevance | path

Searched refs:compareElements (Results 1 – 1 of 1) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DMinMaxPriorityQueue.java309 return (maxHeap.compareElements(1, 2) <= 0) ? 1 : 2; in getMaxElementIndex()
496 int compareElements(int a, int b) { in compareElements() method in MinMaxPriorityQueue.Heap
580 if (compareElements(i, minIndex) < 0) { in findMin()
707 && (compareElements(i, getLeftChildIndex(i)) > 0)) { in verifyIndex()
711 && (compareElements(i, getRightChildIndex(i)) > 0)) { in verifyIndex()
714 if ((i > 0) && (compareElements(i, getParentIndex(i)) > 0)) { in verifyIndex()
717 if ((i > 2) && (compareElements(getGrandparentIndex(i), i) > 0)) { in verifyIndex()