Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for initialCapacity (0.09 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableLongArray.java

       * to trim memory usage, build using {@code builder.build().trimmed()}.
       */
      public static Builder builder(int initialCapacity) {
        checkArgument(initialCapacity >= 0, "Invalid initialCapacity: %s", initialCapacity);
        return new Builder(initialCapacity);
      }
    
      /**
       * Returns a new, empty builder for {@link ImmutableLongArray} instances, with a default initial
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/primitives/ImmutableIntArray.java

       * to trim memory usage, build using {@code builder.build().trimmed()}.
       */
      public static Builder builder(int initialCapacity) {
        checkArgument(initialCapacity >= 0, "Invalid initialCapacity: %s", initialCapacity);
        return new Builder(initialCapacity);
      }
    
      /**
       * Returns a new, empty builder for {@link ImmutableIntArray} instances, with a default initial
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

       * to trim memory usage, build using {@code builder.build().trimmed()}.
       */
      public static Builder builder(int initialCapacity) {
        checkArgument(initialCapacity >= 0, "Invalid initialCapacity: %s", initialCapacity);
        return new Builder(initialCapacity);
      }
    
      /**
       * Returns a new, empty builder for {@link ImmutableIntArray} instances, with a default initial
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/primitives/ImmutableDoubleArray.java

       * necessary; to trim memory usage, build using {@code builder.build().trimmed()}.
       */
      public static Builder builder(int initialCapacity) {
        checkArgument(initialCapacity >= 0, "Invalid initialCapacity: %s", initialCapacity);
        return new Builder(initialCapacity);
      }
    
      /**
       * Returns a new, empty builder for {@link ImmutableDoubleArray} instances, with a default initial
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 23K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableMap.java

         */
        public Builder() {
          this(ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY);
        }
    
        @SuppressWarnings({"unchecked", "rawtypes"})
        Builder(int initialCapacity) {
          this.alternatingKeysAndValues = new @Nullable Object[2 * initialCapacity];
          this.size = 0;
          this.entriesUsed = false;
        }
    
        private void ensureCapacity(int minCapacity) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

        }
    
        private Builder(Comparator<? super K> comparator, int initialCapacity) {
          this.comparator = checkNotNull(comparator);
          this.keys = new @Nullable Object[initialCapacity];
          this.values = new @Nullable Object[initialCapacity];
        }
    
        private void ensureCapacity(int minCapacity) {
          if (minCapacity > keys.length) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableMap.java

         */
        public Builder() {
          this(ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY);
        }
    
        @SuppressWarnings({"unchecked", "rawtypes"})
        Builder(int initialCapacity) {
          this.entries = new @Nullable Entry[initialCapacity];
          this.size = 0;
          this.entriesUsed = false;
        }
    
        private void ensureCapacity(int minCapacity) {
          if (minCapacity > entries.length) {
            entries =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
Back to top