Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 25 of 25 for builderWithExpectedSize (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/util/concurrent/Futures.java

        InCompletionOrderState<T> state = new InCompletionOrderState<>(copy);
        ImmutableList.Builder<AbstractFuture<T>> delegatesBuilder =
            ImmutableList.builderWithExpectedSize(copy.length);
        for (int i = 0; i < copy.length; i++) {
          delegatesBuilder.add(new InCompletionOrderFuture<T>(state));
        }
    
        ImmutableList<AbstractFuture<T>> delegates = delegatesBuilder.build();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 64.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/Sets.java

          int maxSize = maxSize();
          if (maxSize == 0) {
            return ImmutableSet.of();
          }
          ImmutableSet.Builder<@NonNull E> builder = ImmutableSet.builderWithExpectedSize(maxSize);
          for (E element : this) {
            builder.add(checkNotNull(element));
          }
          return builder.build();
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/Sets.java

          int maxSize = maxSize();
          if (maxSize == 0) {
            return ImmutableSet.of();
          }
          ImmutableSet.Builder<@NonNull E> builder = ImmutableSet.builderWithExpectedSize(maxSize);
          for (E element : this) {
            builder.add(checkNotNull(element));
          }
          return builder.build();
        }
    
        /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Maps.java

        if (values instanceof List || values instanceof ImmutableCollection) {
          return uniqueIndex(
              values.iterator(),
              keyFunction,
              ImmutableMap.builderWithExpectedSize(((Collection<?>) values).size()));
        }
        return uniqueIndex(values.iterator(), keyFunction);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Maps.java

        if (values instanceof List || values instanceof ImmutableCollection) {
          return uniqueIndex(
              values.iterator(),
              keyFunction,
              ImmutableMap.builderWithExpectedSize(((Collection<?>) values).size()));
        }
        return uniqueIndex(values.iterator(), keyFunction);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
Back to Top