Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Sit (0.39 sec)

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

          case 1:
            return 0; // The lone element in the queue is the maximum.
          case 2:
            return 1; // The lone element in the maxHeap is the maximum.
          default:
            // The max element must sit on the first level of the maxHeap. It is
            // actually the *lesser* of the two from the maxHeap's perspective.
            return (maxHeap.compareElements(1, 2) <= 0) ? 1 : 2;
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
Back to top