HomeSort by relevance Sort by last modified time
    Searched defs:maxHeap (Results 1 - 2 of 2) sorted by null

  /external/guava/guava/src/com/google/common/collect/
MinMaxPriorityQueue.java 220 private final Heap maxHeap;
229 this.maxHeap = new Heap(ordering.reverse());
230 minHeap.otherHeap = maxHeap;
231 maxHeap.otherHeap = minHeap;
304 return 1; // The lone element in the maxHeap is the maximum.
306 // The max element must sit on the first level of the maxHeap. It is
307 // actually the *lesser* of the two from the maxHeap's perspective.
308 return (maxHeap.compareElements(1, 2) <= 0) ? 1 : 2;
454 return isEvenLevel(i) ? minHeap : maxHeap;
  /prebuilts/tools/common/guava-tools/
guava-10.0.1.jar 

Completed in 480 milliseconds