Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for newLinkedHashMapWithExpectedSize (0.27 sec)

  1. guava/src/com/google/common/collect/Platform.java

       * table.
       */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> newLinkedHashMapWithExpectedSize(int expectedSize) {
        return Maps.newLinkedHashMapWithExpectedSize(expectedSize);
      }
    
      /** Returns the platform preferred implementation of a set based on a hash table. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

      static <K, V> Map<K, V> newHashMapWithExpectedSize(int expectedSize) {
        return Maps.newHashMapWithExpectedSize(expectedSize);
      }
    
      static <K, V> Map<K, V> newLinkedHashMapWithExpectedSize(int expectedSize) {
        return Maps.newLinkedHashMapWithExpectedSize(expectedSize);
      }
    
      static <E> Set<E> newHashSetWithExpectedSize(int expectedSize) {
        return Sets.newHashSetWithExpectedSize(expectedSize);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Platform.java

      }
    
      /**
       * Returns the platform preferred implementation of an insertion ordered map based on a hash
       * table.
       */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> newLinkedHashMapWithExpectedSize(int expectedSize) {
        return CompactLinkedHashMap.createWithExpectedSize(expectedSize);
      }
    
      /** Returns the platform preferred implementation of a set based on a hash table. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/graph/ElementOrder.java

        switch (type) {
          case UNORDERED:
            return Maps.newHashMapWithExpectedSize(expectedSize);
          case INSERTION:
          case STABLE:
            return Maps.newLinkedHashMapWithExpectedSize(expectedSize);
          case SORTED:
            return Maps.newTreeMap(comparator());
        }
        throw new AssertionError();
      }
    
      @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/ElementOrder.java

        switch (type) {
          case UNORDERED:
            return Maps.newHashMapWithExpectedSize(expectedSize);
          case INSERTION:
          case STABLE:
            return Maps.newLinkedHashMapWithExpectedSize(expectedSize);
          case SORTED:
            return Maps.newTreeMap(comparator());
        }
        throw new AssertionError();
      }
    
      @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

       * @since 19.0
       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <K extends @Nullable Object, V extends @Nullable Object>
          LinkedHashMap<K, V> newLinkedHashMapWithExpectedSize(int expectedSize) {
        return new LinkedHashMap<>(capacity(expectedSize));
      }
    
      /**
       * Creates a new empty {@link ConcurrentHashMap} instance.
       *
       * @since 3.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Maps.java

       * @since 19.0
       */
      @SuppressWarnings("NonApiType") // acts as a direct substitute for a constructor call
      public static <K extends @Nullable Object, V extends @Nullable Object>
          LinkedHashMap<K, V> newLinkedHashMapWithExpectedSize(int expectedSize) {
        return new LinkedHashMap<>(capacity(expectedSize));
      }
    
      /**
       * Creates a new empty {@link ConcurrentHashMap} instance.
       *
       * @since 3.0
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top