- Sort Score
- Result 10 results
- Languages All
Results 761 - 770 of 1,335 for collections (0.04 sec)
- 
				
				guava-testlib/src/com/google/common/collect/testing/testers/ListRetainAllTester.javapublic void testRetainAll_duplicatesKept() { E[] array = createSamplesArray(); array[1] = e0(); collection = getSubjectGenerator().create(array); assertFalse( "containsDuplicates.retainAll(superset) should return false", collection.retainAll(MinimalCollection.of(createSamplesArray()))); expectContents(array); } @CollectionFeature.Require(SUPPORTS_REMOVE) Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3K bytes - Viewed (0)
- 
				
				guava-testlib/src/com/google/common/collect/testing/testers/AbstractSetTester.javaRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 1.4K bytes - Viewed (0)
- 
				
				android/guava/src/com/google/common/primitives/ImmutableLongArray.javapublic static ImmutableLongArray copyOf(Collection<Long> values) { return values.isEmpty() ? EMPTY : new ImmutableLongArray(Longs.toArray(values)); } /** * Returns an immutable array containing the given values, in order. * * <p><b>Performance note:</b> this method delegates to {@link #copyOf(Collection)} if {@code * values} is a {@link Collection}. Otherwise it creates a {@link #builder} and uses {@link Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22K bytes - Viewed (0)
- 
				
				compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.javaRegistered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 14K bytes - Viewed (0)
- 
				
				android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6ListTests.javapublic static Test suite() { return new OpenJdk6ListTests().allTests(); } @Override protected Collection<Method> suppressForArraysAsList() { return asList(getToArrayIsPlainObjectArrayMethod()); } @Override protected Collection<Method> suppressForCheckedList() { return asList( CollectionAddTester.getAddNullSupportedMethod(), getAddSupportedNullPresentMethod(), Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 2K bytes - Viewed (0)
- 
				
				guava-testlib/test/com/google/common/collect/testing/OpenJdk6SetTests.javareturn new OpenJdk6SetTests().allTests(); } @Override protected Collection<Method> suppressForTreeSetNatural() { return asList( getAddNullUnsupportedMethod(), getAddAllNullUnsupportedMethod(), getCreateWithNullUnsupportedMethod()); } @Override protected Collection<Method> suppressForCheckedSet() { Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 25 16:19:30 UTC 2025 - 2K bytes - Viewed (0)
- 
				
				android/guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java} @Override public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) throws InterruptedException { Preconditions.checkNotNull(tasks, "tasks must not be null!"); return delegate.invokeAll(tasks); } @Override public <T> List<Future<T>> invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException { Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 6.5K bytes - Viewed (0)
- 
				
				guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java} @Override public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) throws InterruptedException { Preconditions.checkNotNull(tasks, "tasks must not be null!"); return delegate.invokeAll(tasks); } @Override public <T> List<Future<T>> invokeAll( Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) throws InterruptedException { Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 6.5K bytes - Viewed (0)
- 
				
				android/guava-tests/test/com/google/common/base/PredicatesTest.java} public void testIn_apply() { Collection<Integer> nums = Arrays.asList(1, 5); Predicate<@Nullable Integer> isOneOrFive = Predicates.in(nums); assertTrue(isOneOrFive.apply(1)); assertTrue(isOneOrFive.apply(5)); assertFalse(isOneOrFive.apply(3)); assertFalse(isOneOrFive.apply(null)); } public void testIn_equality() { Collection<Integer> nums = ImmutableSet.of(1, 5); Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 32.2K bytes - Viewed (0)
- 
				
				compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/DefaultArtifactTransformationManager.javaimport javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import java.util.List; import java.util.Map; import java.util.Objects; import java.util.stream.Collectors; import java.util.stream.Stream; import org.apache.maven.artifact.Artifact; import org.apache.maven.artifact.deployer.ArtifactDeploymentException; import org.apache.maven.artifact.installer.ArtifactInstallationException; Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.6K bytes - Viewed (0)