Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for swapWithConceptuallyLastElement (0.36 sec)

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

        modCount++;
        size--;
        if (size == index) {
          queue[size] = null;
          return null;
        }
        E actualLastElement = elementData(size);
        int lastElementAt = heapForIndex(size).swapWithConceptuallyLastElement(actualLastElement);
        if (lastElementAt == index) {
          // 'actualLastElement' is now at 'lastElementAt', and the element that was at 'lastElementAt'
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
Back to top