Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for newHashMapWithExpectedSize (0.12 seconds)

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

       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <K extends @Nullable Object, V extends @Nullable Object>
          HashMap<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return new HashMap<>(capacity(expectedSize));
      }
    
      /**
       * Returns a capacity that is sufficient to keep the map from being resized as long as it grows no
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 157.6K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Maps.java

       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <K extends @Nullable Object, V extends @Nullable Object>
          HashMap<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return new HashMap<>(capacity(expectedSize));
      }
    
      /**
       * Returns a capacity that is sufficient to keep the map from being resized as long as it grows no
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 163.5K bytes
    - Click Count (0)
Back to Top