- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for expectedValueCollectionSize (0.5 sec)
-
guava/src/com/google/common/collect/ImmutableMultimap.java
* * <p>This gets overridden in ImmutableSetMultimap.Builder to only trust the size of {@code * values} if it is a Set and therefore probably already deduplicated. */ int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) { if (values instanceof Collection<?>) { Collection<?> collection = (Collection<?>) values; return max(defaultExpectedValues, collection.size());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 28.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSetMultimap.java
? ImmutableSet.builderWithExpectedSize(expectedSize) : new ImmutableSortedSet.Builder<V>(valueComparator, expectedSize); } @Override int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) { // Only trust the size of `values` if it is a Set and therefore probably already deduplicated. if (values instanceof Set<?>) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSetMultimap.java
? ImmutableSet.builderWithExpectedSize(expectedSize) : new ImmutableSortedSet.Builder<V>(valueComparator, expectedSize); } @Override int expectedValueCollectionSize(int defaultExpectedValues, Iterable<?> values) { // Only trust the size of `values` if it is a Set and therefore probably already deduplicated. if (values instanceof Set<?>) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0)