Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for growIfNeeded (0.05 seconds)

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

       * which may be {@code element} itself.
       */
      @CanIgnoreReturnValue
      @Override
      public boolean offer(E element) {
        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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * which may be {@code element} itself.
       */
      @CanIgnoreReturnValue
      @Override
      public boolean offer(E element) {
        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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 13:11:08 GMT 2026
    - 34K bytes
    - Click Count (0)
Back to Top