- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 31 for builderWithExpectedSize (0.11 seconds)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java
return Indexed.this; } }; } } public static <E> Builder<E> builder() { return new Builder<E>(); } public static <E> Builder<E> builderWithExpectedSize(int size) { return new Builder<E>(size); } public static class Builder<E> extends ImmutableCollection.Builder<E> { // accessed directly by ImmutableSortedSet final ArrayList<E> contents;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 8.2K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
Collections.reverse(list); return unsafeDelegateList(list); } public static <E> Builder<E> builder() { return new Builder<E>(); } public static <E> Builder<E> builderWithExpectedSize(int expectedSize) { return new Builder<E>(expectedSize); } public static final class Builder<E> extends ImmutableCollection.Builder<E> { private final ArrayList<E> contents;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 18:32:41 GMT 2025 - 11.1K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
return new RegularImmutableMap<>(entries); } public static <K, V> Builder<K, V> builder() { return new Builder<K, V>(); } public static <K, V> Builder<K, V> builderWithExpectedSize(int expectedSize) { return new Builder<K, V>(expectedSize); } static <K, V> Entry<K, V> entryOf(K key, V value) { checkEntryNotNull(key, value); return Maps.immutableEntry(key, value);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 15:51:42 GMT 2026 - 17.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
* from consumers of {@code ImmutableSortedSet}. * * @throws UnsupportedOperationException always * @deprecated Not supported by ImmutableSortedSet. */ @DoNotCall("Use naturalOrder (which does not accept an expected size)") @Deprecated public static <E> ImmutableSortedSet.Builder<E> builderWithExpectedSize(int expectedSize) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 39.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSortedSet.java
* from consumers of {@code ImmutableSortedSet}. * * @throws UnsupportedOperationException always * @deprecated Not supported by ImmutableSortedSet. */ @DoNotCall("Use naturalOrder (which does not accept an expected size)") @Deprecated public static <E> ImmutableSortedSet.Builder<E> builderWithExpectedSize(int expectedSize) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 36.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableBiMap.java
* but not exactly, the number of entries added to the builder. * * @since 23.1 */ public static <K, V> Builder<K, V> builderWithExpectedSize(int expectedSize) { checkNonnegative(expectedSize, "expectedSize"); return new Builder<>(expectedSize); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 22.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableSet.java
* but not exactly, the number of distinct elements added to the builder. * * @since 23.1 */ public static <E> Builder<E> builderWithExpectedSize(int expectedSize) { checkNonnegative(expectedSize, "expectedSize"); return new Builder<>(expectedSize, true); } /** * A builder for creating {@code ImmutableSet} instances. Example: *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Oct 11 14:54:00 GMT 2025 - 22.4K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
* but not exactly, the number of elements added to the builder. * * @since 23.1 */ public static <E> Builder<E> builderWithExpectedSize(int expectedSize) { checkNonnegative(expectedSize, "expectedSize"); return new ImmutableList.Builder<>(expectedSize); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 27.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSet.java
* but not exactly, the number of distinct elements added to the builder. * * @since 23.1 */ public static <E> Builder<E> builderWithExpectedSize(int expectedSize) { checkNonnegative(expectedSize, "expectedSize"); return new Builder<>(expectedSize); } /** * A builder for creating {@code ImmutableSet} instances. Example: *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Nov 07 16:09:47 GMT 2025 - 35.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableBiMap.java
* but not exactly, the number of entries added to the builder. * * @since 23.1 */ public static <K, V> Builder<K, V> builderWithExpectedSize(int expectedSize) { checkNonnegative(expectedSize, "expectedSize"); return new Builder<>(expectedSize); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 22.7K bytes - Click Count (0)