- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 56 for expectedSize (0.14 sec)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
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; public Builder() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 22:14:46 UTC 2024 - 11.1K bytes - Viewed (0) -
android/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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 41.5K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 44.6K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 16:21:24 UTC 2024 - 15.5K bytes - Viewed (0) -
android/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 Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 26.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
@SuppressWarnings("unchecked") Builder(Comparator<? super E> comparator, int expectedSize) { super(true); // don't construct guts of hash-based set builder this.comparator = checkNotNull(comparator); this.elements = (E[]) new Object[expectedSize]; this.n = 0; } @Override void copy() { elements = Arrays.copyOf(elements, elements.length);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 39.1K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 25.9K bytes - Viewed (0) -
android/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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 27.9K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 36.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedMap.java
*/ @DoNotCall("Use naturalOrder (which does not accept an expected size)") @Deprecated public static <K, V> ImmutableSortedMap.Builder<K, V> builderWithExpectedSize(int expectedSize) { throw new UnsupportedOperationException(); } /** * Not supported. <b>You are attempting to create a map that may contain a non-{@code Comparable}
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 50.4K bytes - Viewed (0)