- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for createWithExpectedSize (0.23 seconds)
-
android/guava/src/com/google/common/collect/CompactHashSet.java
*/ public static <E extends @Nullable Object> CompactHashSet<E> create( Collection<? extends E> collection) { CompactHashSet<E> set = createWithExpectedSize(collection.size()); set.addAll(collection); return set; } /** * Creates a <i>mutable</i> {@code CompactHashSet} instance containing the given elements in * unspecified order. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 23.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashSet.java
*/ public static <E extends @Nullable Object> CompactHashSet<E> create( Collection<? extends E> collection) { CompactHashSet<E> set = createWithExpectedSize(collection.size()); set.addAll(collection); return set; } /** * Creates a <i>mutable</i> {@code CompactHashSet} instance containing the given elements in * unspecified order. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 24.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
* expectedSize} elements without resizing * @throws IllegalArgumentException if {@code expectedSize} is negative */ static <K extends @Nullable Object> ObjectCountHashMap<K> createWithExpectedSize( int expectedSize) { return new ObjectCountHashMap<K>(expectedSize); } private static final int MAXIMUM_CAPACITY = 1 << 30; static final float DEFAULT_LOAD_FACTOR = 1.0f;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 14.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactLinkedHashMap.java
* @throws IllegalArgumentException if {@code expectedSize} is negative */ public static <K extends @Nullable Object, V extends @Nullable Object> CompactLinkedHashMap<K, V> createWithExpectedSize(int expectedSize) { return new CompactLinkedHashMap<>(expectedSize); } private static final int ENDPOINT = -2; /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 10.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashMap.java
* elements without resizing * @throws IllegalArgumentException if {@code expectedSize} is negative */ public static <K extends @Nullable Object, V extends @Nullable Object> CompactHashMap<K, V> createWithExpectedSize(int expectedSize) { return new CompactHashMap<>(expectedSize); } private static final Object NOT_FOUND = new Object(); /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 39.6K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CompactHashMap.java
* elements without resizing * @throws IllegalArgumentException if {@code expectedSize} is negative */ public static <K extends @Nullable Object, V extends @Nullable Object> CompactHashMap<K, V> createWithExpectedSize(int expectedSize) { return new CompactHashMap<>(expectedSize); } private static final Object NOT_FOUND = new Object(); /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 35.7K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableMultiset.java
* ImmutableMultiset#builder}. */ public Builder() { this(4); } Builder(int estimatedDistinct) { this.contents = ObjectCountHashMap.createWithExpectedSize(estimatedDistinct); } Builder(boolean forSubtype) { // for ImmutableSortedMultiset not to allocate data structures not used there this.contents = null; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 22.3K bytes - Click Count (0)