- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 23 for content_es (0.1 sec)
-
guava/src/com/google/common/collect/ImmutableList.java
} private void getReadyToExpandTo(int minCapacity) { if (contents.length < minCapacity) { this.contents = Arrays.copyOf(contents, expandedCapacity(contents.length, minCapacity)); forceCopy = false; } else if (forceCopy) { contents = Arrays.copyOf(contents, contents.length); forceCopy = false; } } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 08 03:01:02 UTC 2024 - 29.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
private final ArrayList<E> contents; public Builder() { contents = Lists.newArrayList(); } Builder(int capacity) { contents = Lists.newArrayListWithCapacity(capacity); } @CanIgnoreReturnValue @Override public Builder<E> add(E element) { contents.add(checkNotNull(element)); return this; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 08 03:01:02 UTC 2024 - 11K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
builder.add(i); assertNotSame(builder.contents, prevArray); prevArray = builder.contents; ImmutableList<Integer> unused = builder.build(); } } @GwtIncompatible public void testBuilderExactlySizedReusesArray() { ImmutableList.Builder<Integer> builder = ImmutableList.builderWithExpectedSize(10); Object[] builderArray = builder.contents; for (int i = 0; i < 10; i++) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 23.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java
* * <p>A collection is considered immutable if: * * <ol> * <li>All its mutation methods result in UnsupportedOperationException, and do not change the * underlying contents. * <li>All methods that return objects that can indirectly mutate the collection throw * UnsupportedOperationException when those mutators are called. * </ol> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 10 20:31:37 UTC 2024 - 14.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetsTest.java
* the set is the same as the ordering of the given contents. */ private static <E> void verifyLinkedHashSetContents( LinkedHashSet<E> set, Collection<E> contents) { assertEquals( "LinkedHashSet should have preserved order for iteration", new ArrayList<E>(set), new ArrayList<E>(contents)); verifySetContents(set, contents); } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 47.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java
import java.util.function.ToIntFunction; import java.util.stream.Collector; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A {@link SortedMultiset} whose contents will never change, with many other important properties * detailed at {@link ImmutableCollection}. * * <p><b>Warning:</b> as with any sorted collection, you are strongly advised not to use a {@link
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 35.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/Helpers.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 17.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
* PermittedMetaException}. */ protected final class MultiExceptionListIterator implements ListIterator<E> { // TODO: track seen elements when order isn't guaranteed // TODO: verify contents afterward // TODO: something shiny and new instead of Stack // TODO: test whether null is supported (create a Feature) /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 21.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
import java.util.stream.Collector; import java.util.stream.Collectors; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A {@link Map} whose contents will never change, with many other important properties detailed at * {@link ImmutableCollection}. * * <p>See the Guava User Guide article on <a href=
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Apr 30 14:39:16 UTC 2024 - 44.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableRangeMap.java
import java.util.function.Function; import java.util.stream.Collector; import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * A {@link RangeMap} whose contents will never change, with many other important properties * detailed at {@link ImmutableCollection}. * * @author Louis Wasserman * @since 14.0 */ @GwtIncompatible // NavigableMap @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 14.4K bytes - Viewed (0)