Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for heapForIndex (0.05 sec)

  1. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        checkNotNull(element);
        modCount++;
        int insertIndex = size++;
    
        growIfNeeded();
    
        // Adds the element to the end of the heap and bubbles it up to the correct
        // position.
        heapForIndex(insertIndex).bubbleUp(insertIndex, element);
        return size <= maximumSize || pollLast() != element;
      }
    
      @CanIgnoreReturnValue
      @Override
      public @Nullable E poll() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 33.9K bytes
    - Viewed (0)
Back to top