- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 117 for Duplicates (0.34 sec)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java
return false; // This is the first occurrence } }) .toList(); // Remove duplicates while preserving formatting duplicates.forEach(DomUtils::removeElement); return !duplicates.isEmpty(); } private String createDependencyKey(Element dependency) { String groupId = dependency.childText(MavenPomElements.Elements.GROUP_ID);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 22.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSet.java
@SuppressWarnings("unchecked") E[] array = (E[]) elements.toArray(); /* * For a Set, we guess that it contains no duplicates. That's just a guess for purpose of * sizing; if the Set uses different equality semantics, it might contain duplicates according * to equals(), and we will deduplicate those properly, albeit at some cost in allocations. */ int expectedSize =Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Nov 07 16:09:47 UTC 2025 - 35.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/graph/DefaultProjectDependencyGraphTest.java
assertEquals(cProject, sortedProjects.get(1)); assertTrue(graph.getDownstreamProjects(aProject, false).contains(cProject)); } // Test verifying that getDownstreamProjects does not contain duplicates. // This is a regression test for https://github.com/apache/maven/issues/2487. // // The graph is: // aProject -> bProject // | -> dProject // | -> eProject
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 10.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java
assertEquals("https://example.com/sitemap2.xml", sitemaps[1]); } public void test_addSitemapNoDuplicates() { // Test that addSitemap doesn't add duplicates RobotsTxt robotsTxt = new RobotsTxt(); robotsTxt.addSitemap("https://example.com/sitemap.xml"); robotsTxt.addSitemap("https://example.com/sitemap.xml");
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 14.4K bytes - Viewed (0) -
android/guava/src/com/google/common/math/Quantiles.java
* q-quantile. * * @param indexes the quantile indexes, each of which must be in the inclusive range [0, q] for * q-quantiles; the order of the indexes is unimportant, duplicates will be ignored, and the * set will be snapshotted when this method is called * @throws IllegalArgumentException if {@code indexes} is empty */ public ScaleAndIndexes indexes(int... indexes) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 30.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java
} } // TODO: test adding element of wrong type /** * Returns {@link Method} instances for the {@code setCount()} tests that assume multisets support * duplicates so that the test of {@code Multisets.forSet()} can suppress them. */ @J2ktIncompatible @GwtIncompatible // reflection public static List<Method> getSetCountDuplicateInitializingMethods() { return asList(Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
* elements. * * <p>The collections created by {@link #createCollection()} may or may not allow duplicates. If the * collection, such as a {@link Set}, does not support duplicates, an added key-value pair will * replace an existing pair with the same key and value, if such a pair is present. With collections * like {@link List} that allow duplicates, the collection will keep the existing key-value pairs * while adding a new pair. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 48.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/processor/impl/SitemapsResponseProcessorTest.java
public void test_duplicateUrlsInSitemap() { // Test handling of duplicate URLs in sitemap ResponseData responseData = new ResponseData(); byte[] content = "<sitemap></sitemap>".getBytes(); responseData.setResponseBody(content); SitemapUrl sitemap1 = new SitemapUrl(); sitemap1.setLoc("https://example.com/duplicate"); SitemapUrl sitemap2 = new SitemapUrl();Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 13 13:29:22 UTC 2025 - 12K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
* order. The sorting algorithm used is stable, so elements that compare as equal will stay in the * order in which they appear in the input. * * <p>If your data has no duplicates, or you wish to deduplicate elements, use {@code * ImmutableSortedSet.copyOf(elements)}; if you want a {@code List} you can use its {@code * asList()} view. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 27.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
} /** * {@inheritDoc} * * <p>The iterator generated by the returned collection traverses the values in the order they * were added to the multimap. Because the values may have duplicates and follow the insertion * ordering, this method returns a {@link List}, instead of the {@link Collection} specified in * the {@link ListMultimap} interface. */ @Override public List<V> values() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 27K bytes - Viewed (0)