Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for expectedSize (0.06 sec)

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

       * @since 23.1
       */
      public static <K, V> Builder<K, V> builderWithExpectedSize(int expectedSize) {
        checkNonnegative(expectedSize, "expectedSize");
        return new Builder<>(expectedSize);
      }
    
      static void checkNoConflict(
          boolean safe, String conflictDescription, Object entry1, Object entry2) {
        if (!safe) {
          throw conflictException(conflictDescription, entry1, entry2);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        public Builder(Comparator<? super E> comparator) {
          this.comparator = checkNotNull(comparator);
        }
    
        Builder(Comparator<? super E> comparator, int expectedSize) {
          super(expectedSize);
          this.comparator = checkNotNull(comparator);
        }
    
        @CanIgnoreReturnValue
        @Override
        public Builder<E> add(E element) {
          super.add(element);
          return this;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMultimap.java

            builderMap = result;
          }
          return result;
        }
    
        ImmutableCollection.Builder<V> newValueCollectionBuilderWithExpectedSize(int expectedSize) {
          return ImmutableList.builderWithExpectedSize(expectedSize);
        }
    
        /**
         * Provides a hint for how many values will be associated with each key newly added to the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSetMultimap.java

        }
    
        @Override
        ImmutableCollection.Builder<V> newValueCollectionBuilderWithExpectedSize(int expectedSize) {
          return (valueComparator == null)
              ? ImmutableSet.builderWithExpectedSize(expectedSize)
              : new ImmutableSortedSet.Builder<V>(valueComparator, expectedSize);
        }
    
        @Override
        int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       */
      @DoNotCall("Use naturalOrder (which does not accept an expected size)")
      @Deprecated
      public static <E> ImmutableSortedSet.Builder<E> builderWithExpectedSize(int expectedSize) {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Not supported. <b>You are attempting to create a set that may contain a non-{@code Comparable}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/job/PurgeLogJobTest.java

                @Override
                public long getCurrentTimeAsLong() {
                    // Return consistent time for testing
                    if (expectedTime[0] == 0) {
                        expectedTime[0] = System.currentTimeMillis();
                    }
                    return expectedTime[0];
                }
            };
    
            FessConfig fessConfig = new TestFessConfig() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top