Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cap (0.12 sec)

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

        if (initialContents instanceof Collection) {
          int initialSize = ((Collection<?>) initialContents).size();
          result = Math.max(result, initialSize);
        }
    
        // Now cap it at maxSize + 1
        return capAtMaximumSize(result, maximumSize);
      }
    
      private void growIfNeeded() {
        if (size > queue.length) {
          int newCapacity = calculateNewCapacity();
    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