Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for newLinkedHashMapWithExpectedSize (2.06 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

        return Maps.newHashMapWithExpectedSize(expectedSize);
      }
    
      static <K extends @Nullable Object, V extends @Nullable Object>
          Map<K, V> newLinkedHashMapWithExpectedSize(int expectedSize) {
        return Maps.newLinkedHashMapWithExpectedSize(expectedSize);
      }
    
      static <E extends @Nullable Object> Set<E> newHashSetWithExpectedSize(int expectedSize) {
        return Sets.newHashSetWithExpectedSize(expectedSize);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jun 10 15:17:16 UTC 2025
    - 5.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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/HashBasedTable.java

        final int expectedSize;
    
        Factory(int expectedSize) {
          this.expectedSize = expectedSize;
        }
    
        @Override
        public Map<C, V> get() {
          return Maps.newLinkedHashMapWithExpectedSize(expectedSize);
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /** Creates an empty {@code HashBasedTable}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/HashBasedTable.java

        final int expectedSize;
    
        Factory(int expectedSize) {
          this.expectedSize = expectedSize;
        }
    
        @Override
        public Map<C, V> get() {
          return Maps.newLinkedHashMapWithExpectedSize(expectedSize);
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      /** Creates an empty {@code HashBasedTable}. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

      private transient MultimapIterationChain<K, V> multimapIterationChain =
          new MultimapIterationChain<>();
    
      private LinkedHashMultimap(int keyCapacity, int valueSetCapacity) {
        super(Platform.newLinkedHashMapWithExpectedSize(keyCapacity));
        checkNonnegative(valueSetCapacity, "expectedValuesPerKey");
    
        this.valueSetCapacity = valueSetCapacity;
      }
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MultimapBuilder.java

        return new MultimapBuilderWithKeys<@Nullable Object>() {
          @Override
          <K extends @Nullable Object, V extends @Nullable Object> Map<K, Collection<V>> createMap() {
            return Platform.newLinkedHashMapWithExpectedSize(expectedKeys);
          }
        };
      }
    
      /**
       * Uses a naturally-ordered {@link TreeMap} to map keys to value collections.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/MultimapBuilder.java

        return new MultimapBuilderWithKeys<@Nullable Object>() {
          @Override
          <K extends @Nullable Object, V extends @Nullable Object> Map<K, Collection<V>> createMap() {
            return Platform.newLinkedHashMapWithExpectedSize(expectedKeys);
          }
        };
      }
    
      /**
       * Uses a naturally-ordered {@link TreeMap} to map keys to value collections.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 18K bytes
    - Viewed (0)
Back to top