Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for preservesInsertionOrderOnPutsMapWithExpectedSize (0.23 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

      /**
       * Returns the platform preferred map implementation that preserves insertion order when used only
       * for insertions, with a hint for how many entries to expect.
       */
      static <K, V> Map<K, V> preservesInsertionOrderOnPutsMapWithExpectedSize(int expectedSize) {
        return Maps.newLinkedHashMapWithExpectedSize(expectedSize);
      }
    
      /**
       * Returns the platform preferred set implementation that preserves insertion order when used only
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Platform.java

       * for insertions, with a hint for how many entries to expect.
       */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> preservesInsertionOrderOnPutsMapWithExpectedSize(int expectedSize) {
        return Maps.newLinkedHashMapWithExpectedSize(expectedSize);
      }
    
      /**
       * Returns the platform preferred set implementation that preserves insertion order when used only
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Platform.java

       * for insertions, with a hint for how many entries to expect.
       */
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> preservesInsertionOrderOnPutsMapWithExpectedSize(int expectedSize) {
        return Maps.newLinkedHashMapWithExpectedSize(expectedSize);
      }
    
      /**
       * Returns the platform preferred set implementation that preserves insertion order when used only
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:52:51 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableMultimap.java

        public Builder() {}
    
        /** Creates a new builder with a hint for the number of distinct keys. */
        Builder(int expectedKeys) {
          if (expectedKeys > 0) {
            builderMap = Platform.preservesInsertionOrderOnPutsMapWithExpectedSize(expectedKeys);
          }
          // otherwise, leave it null to be constructed lazily
        }
    
        Map<K, ImmutableCollection.Builder<V>> ensureBuilderMapNonNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
Back to top