- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 402 for addAll (0.17 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
assertFalse("addAll(n, nothing) should return false", getList().addAll(0, emptyCollection())); expectUnchanged(); } @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) public void testAddAllAtIndex_unsupportedNothing() { try { assertFalse( "addAll(n, nothing) should return false or throw", getList().addAll(0, emptyCollection()));
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 6.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
public void testAddAll_supportedNothing() { assertFalse("addAll(nothing) should return false", collection.addAll(emptyCollection())); expectUnchanged(); } @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testAddAll_unsupportedNothing() { try { assertFalse( "addAll(nothing) should return false or throw", collection.addAll(emptyCollection()));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java
assertFalse("addAll(n, nothing) should return false", getList().addAll(0, emptyCollection())); expectUnchanged(); } @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) public void testAddAllAtIndex_unsupportedNothing() { try { assertFalse( "addAll(n, nothing) should return false or throw", getList().addAll(0, emptyCollection()));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 6.5K bytes - Viewed (1) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java
public void testAddAll_supportedNothing() { assertFalse("addAll(nothing) should return false", collection.addAll(emptyCollection())); expectUnchanged(); } @CollectionFeature.Require(absent = SUPPORTS_ADD) public void testAddAll_unsupportedNothing() { try { assertFalse( "addAll(nothing) should return false or throw", collection.addAll(emptyCollection()));
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 7.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java
try (InputStream is = urls.nextElement().openStream()) { ExtensionDescriptor descriptor = BUILDER.build(is); artifacts.addAll(descriptor.getExportedArtifacts()); packages.addAll(descriptor.getExportedPackages()); } } } catch (IOException ignored) { // exports descriptors are entirely optional }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Sep 22 07:14:56 GMT 2023 - 4.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
emptyAccumulatorByAddAllEmptyPairedStats.addAll(emptyAccumulator.snapshot()); oneValueAccumulator = new PairedStatsAccumulator(); oneValueAccumulator.add(ONE_VALUE, OTHER_ONE_VALUE); oneValueAccumulatorByAddAllEmptyPairedStats = new PairedStatsAccumulator(); oneValueAccumulatorByAddAllEmptyPairedStats.add(ONE_VALUE, OTHER_ONE_VALUE); oneValueAccumulatorByAddAllEmptyPairedStats.addAll(emptyAccumulator.snapshot());
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 23.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java
emptyAccumulatorByAddAllEmptyPairedStats.addAll(emptyAccumulator.snapshot()); oneValueAccumulator = new PairedStatsAccumulator(); oneValueAccumulator.add(ONE_VALUE, OTHER_ONE_VALUE); oneValueAccumulatorByAddAllEmptyPairedStats = new PairedStatsAccumulator(); oneValueAccumulatorByAddAllEmptyPairedStats.add(ONE_VALUE, OTHER_ONE_VALUE); oneValueAccumulatorByAddAllEmptyPairedStats.addAll(emptyAccumulator.snapshot());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 23.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
@Override public SortedSet<String> create(String[] elements) { SortedSet<String> set = new TreeSet<>(arbitraryNullFriendlyComparator()); Collections.addAll(set, elements); return set; } }) .named("TreeSet, with comparator") .withFeatures( SetFeature.GENERAL_PURPOSE,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 15.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/StatsAccumulatorTest.java
oneValueAccumulatorByAddAllEmptyStats.addAll(Stats.of()); twoValuesAccumulator = new StatsAccumulator(); twoValuesAccumulator.addAll(TWO_VALUES); twoValuesAccumulatorByAddAllStats = new StatsAccumulator(); twoValuesAccumulatorByAddAllStats.addAll(Stats.of(ONE_VALUE)); twoValuesAccumulatorByAddAllStats.addAll(Stats.of(OTHER_ONE_VALUE));
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 36.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedSetTest.java
public boolean add(@Nullable E o) { assertTrue(Thread.holdsLock(mutex)); return super.add(o); } @Override public boolean addAll(Collection<? extends E> c) { assertTrue(Thread.holdsLock(mutex)); return super.addAll(c); } @Override public void clear() { assertTrue(Thread.holdsLock(mutex)); super.clear(); } @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Apr 17 11:19:47 GMT 2023 - 4.7K bytes - Viewed (0)