Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 289 for Duplicates (0.05 sec)

  1. 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)
  2. guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

            }
            if (elements.length > 0) {
              multiset1.add(elements[0]);
            }
            if (elements.length > 1) {
              /*
               * When a test requests a multiset with duplicates, our plan of
               * "add an extra item 0 to A and an extra item 1 to B" really means
               * "add an extra item 0 to A and B," which isn't what we want.
               */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/ResponseDataTest.java

            assertTrue(data.getChildUrlSet().contains(child2));
        }
    
        public void test_childUrlSetNoDuplicates() {
            // Test that child URL set does not allow duplicates
            ResponseData data = new ResponseData();
    
            RequestData child = new RequestData();
            child.setMethod(Method.GET);
            child.setUrl("https://example.com/page1");
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Map<Integer, String> expected = new LinkedHashMap<>();
        for (int i = 0; i < 1000; i++) {
          // Truncate to even key, so we have put(0, "0") then put(0, "1"). Half the entries are
          // duplicates.
          Integer key = i & ~1;
          String value = String.valueOf(i);
          builder.put(key, value);
          expected.put(key, value);
        }
        ImmutableMap<Integer, String> map = builder.buildKeepingLast();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  8. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java

            urlQueue2.setMethod("GET");
            urlQueue2.setSessionId(sessionId);
            urlQueue2.setUrl("http://www.example.com/page1"); // Duplicate
            urlQueueList.add(urlQueue2);
    
            urlQueueService.offerAll(sessionId, urlQueueList);
    
            // Should only store one item (duplicates are filtered)
            int count = 0;
            while (true) {
                final OpenSearchUrlQueue polled = urlQueueService.poll(sessionId);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/package-info.java

     * During this process only the most relevant version of each artifact
     * (based on group ID and artifact ID) is retained, resolving conflicts and eliminating duplicates to ensure
     * that each dependency is included only once in the final build.</p>
     *
     * <p><dfn>Dependency resolution</dfn> is the process of collecting dependencies, flattening the result graph,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:13:42 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ArrayTable.java

       * @param columnKeys column keys that may be stored in the generated table
       * @throws NullPointerException if any of the provided keys is null
       * @throws IllegalArgumentException if {@code rowKeys} or {@code columnKeys} contains duplicates
       *     or if exactly one of {@code rowKeys} or {@code columnKeys} is empty.
       */
      public static <R, C, V> ArrayTable<R, C, V> create(
          Iterable<? extends R> rowKeys, Iterable<? extends C> columnKeys) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 26.9K bytes
    - Viewed (0)
Back to top