- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for expectedKeys (0.05 sec)
-
guava/src/com/google/common/collect/ArrayListMultimap.java
* MultimapBuilder.hashKeys(expectedKeys).arrayListValues(expectedValuesPerKey).build()}, which * provides more control over the underlying data structure. * * @param expectedKeys the expected number of distinct keys * @param expectedValuesPerKey the expected average number of values per key * @throws IllegalArgumentException if {@code expectedKeys} or {@code expectedValuesPerKey} is * negative */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableListMultimap.java
* {@code expectedKeys} is a good estimate. * * @throws IllegalArgumentException if {@code expectedKeys} is negative * @since 33.3.0 */ public static <K, V> Builder<K, V> builderWithExpectedKeys(int expectedKeys) { checkNonnegative(expectedKeys, "expectedKeys"); return new Builder<>(expectedKeys); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
* {@code expectedKeys} is a good estimate. * * @throws IllegalArgumentException if {@code expectedKeys} is negative * @since 33.3.0 */ public static <K, V> Builder<K, V> builderWithExpectedKeys(int expectedKeys) { checkNonnegative(expectedKeys, "expectedKeys"); return new Builder<>(expectedKeys); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
* {@code expectedKeys} is a good estimate. * * @throws IllegalArgumentException if {@code expectedKeys} is negative * @since 33.3.0 */ public static <K, V> Builder<K, V> builderWithExpectedKeys(int expectedKeys) { checkNonnegative(expectedKeys, "expectedKeys"); return new Builder<>(expectedKeys); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 28.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedListMultimap.java
* number of keys without rehashing. * * @param expectedKeys the expected number of distinct keys * @throws IllegalArgumentException if {@code expectedKeys} is negative */ public static <K extends @Nullable Object, V extends @Nullable Object> LinkedListMultimap<K, V> create(int expectedKeys) { return new LinkedListMultimap<>(expectedKeys); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 26.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
* numbers of keys and values without rehashing. * * @param expectedKeys the expected number of distinct keys * @param expectedValuesPerKey the expected average number of values per key * @throws IllegalArgumentException if {@code expectedKeys} or {@code expectedValuesPerKey} is * negative */ public static <K extends @Nullable Object, V extends @Nullable Object>
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableListMultimap.java
* {@code expectedKeys} is a good estimate. * * @throws IllegalArgumentException if {@code expectedKeys} is negative * @since 33.3.0 */ public static <K, V> Builder<K, V> builderWithExpectedKeys(int expectedKeys) { checkNonnegative(expectedKeys, "expectedKeys"); return new Builder<>(expectedKeys); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
* {@code expectedKeys} is a good estimate. * * @throws IllegalArgumentException if {@code expectedKeys} is negative * @since 33.3.0 */ public static <K, V> Builder<K, V> builderWithExpectedKeys(int expectedKeys) { checkNonnegative(expectedKeys, "expectedKeys"); return new Builder<>(expectedKeys); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
int nTasks = 1000; int nSeededEntries = 100; Set<String> expectedKeys = Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries); // seed the map, so its segments have a count>0; otherwise, clear() won't visit the in-progress // entries for (int i = 0; i < nSeededEntries; i++) { String s = "b" + i; cache.getUnchecked(s); expectedKeys.add(s); } computationShouldWait.set(true);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
int nTasks = 1000; int nSeededEntries = 100; Set<String> expectedKeys = Sets.newHashSetWithExpectedSize(nTasks + nSeededEntries); // seed the map, so its segments have a count>0; otherwise, clear() won't visit the in-progress // entries for (int i = 0; i < nSeededEntries; i++) { String s = "b" + i; cache.getUnchecked(s); expectedKeys.add(s); } computationShouldWait.set(true);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25K bytes - Viewed (0)