Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for builderWithExpectedSize (0.21 sec)

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

            builderMap = result;
          }
          return result;
        }
    
        ImmutableCollection.Builder<V> newValueCollectionBuilderWithExpectedSize(int expectedSize) {
          return ImmutableList.builderWithExpectedSize(expectedSize);
        }
    
        /**
         * Provides a hint for how many values will be associated with each key newly added to the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableMultimap.java

            builderMap = result;
          }
          return result;
        }
    
        ImmutableCollection.Builder<V> newValueCollectionBuilderWithExpectedSize(int expectedSize) {
          return ImmutableList.builderWithExpectedSize(expectedSize);
        }
    
        /**
         * Provides a hint for how many values will be associated with each key newly added to the
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 09 15:58:48 UTC 2025
    - 28.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableList.java

       * but not exactly, the number of elements added to the builder.
       *
       * @since 23.1
       */
      public static <E> Builder<E> builderWithExpectedSize(int expectedSize) {
        checkNonnegative(expectedSize, "expectedSize");
        return new ImmutableList.Builder<>(expectedSize);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSet.java

       * but not exactly, the number of distinct elements added to the builder.
       *
       * @since 23.1
       */
      public static <E> Builder<E> builderWithExpectedSize(int expectedSize) {
        checkNonnegative(expectedSize, "expectedSize");
        return new Builder<>(expectedSize);
      }
    
      /**
       * A builder for creating {@code ImmutableSet} instances. Example:
       *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Nov 07 16:09:47 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Maps.java

          Iterable<V> values, Function<? super V, K> keyFunction) {
        if (values instanceof Collection) {
          return uniqueIndex(
              values.iterator(),
              keyFunction,
              ImmutableMap.builderWithExpectedSize(((Collection<?>) values).size()));
        }
        return uniqueIndex(values.iterator(), keyFunction);
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
Back to top