Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 398 for duplicate (1.17 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java

                requireNonNull(type, "type");
                requireNonNull(component, "component");
                if (components.put(type, component) != null) {
                    throw new IllegalStateException("Duplicate mapping for type: " + type.getName());
                }
                return this;
            }
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/graph/PredecessorsFunction.java

       *
       * <p>Some algorithms that operate on a {@code PredecessorsFunction} may produce undesired results
       * if the returned {@link Iterable} contains duplicate elements. Implementations of such
       * algorithms should document their behavior in the presence of duplicates.
       *
       * <p>The elements of the returned {@code Iterable} must each be:
       *
       * <ul>
       *   <li>Non-null
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListIndexOfTester.java

      public void testIndexOf_duplicate() {
        E[] array = createSamplesArray();
        array[getNumElements() / 2] = e0();
        collection = getSubjectGenerator().create(array);
        assertEquals(
            "indexOf(duplicate) should return index of first occurrence", 0, getList().indexOf(e0()));
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ListLastIndexOfTester.java

      public void testLastIndexOf_duplicate() {
        E[] array = createSamplesArray();
        array[getNumElements() / 2] = e0();
        collection = getSubjectGenerator().create(array);
        assertEquals(
            "lastIndexOf(duplicate) should return index of last occurrence",
            getNumElements() / 2,
            getList().lastIndexOf(e0()));
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/graph/PredecessorsFunction.java

       *
       * <p>Some algorithms that operate on a {@code PredecessorsFunction} may produce undesired results
       * if the returned {@link Iterable} contains duplicate elements. Implementations of such
       * algorithms should document their behavior in the presence of duplicates.
       *
       * <p>The elements of the returned {@code Iterable} must each be:
       *
       * <ul>
       *   <li>Non-null
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/SuccessorsFunction.java

       *
       * <p>Some algorithms that operate on a {@code SuccessorsFunction} may produce undesired results
       * if the returned {@link Iterable} contains duplicate elements. Implementations of such
       * algorithms should document their behavior in the presence of duplicates.
       *
       * <p>The elements of the returned {@code Iterable} must each be:
       *
       * <ul>
       *   <li>Non-null
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

    import org.apache.maven.model.v4.MavenStaxReader;
    
    /**
     * A utility class that analyzes Maven POM files to identify memory usage patterns and potential memory optimizations.
     * This analyzer focuses on identifying duplicate strings and their memory impact across different paths in the POM structure.
     *
     * <p>The analyzer processes POM files recursively, tracking string occurrences and their locations within the POM structure.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

                        <modelVersion>4.0.0</modelVersion>
                        <groupId>com.example</groupId>
                        <artifactId>duplicate-project</artifactId>
                        <version>1.0.0</version>
                    </project>
                    """;
    
                Document doc1 = Document.of(pomXml);
                Document doc2 = Document.of(pomXml);
    
                Map<Path, Document> pomMap = new HashMap<>();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableMap.java

          K key = checkNotNull(entry.getKey());
          V previous = delegate.put(key, checkNotNull(entry.getValue()));
          if (throwIfDuplicateKeys && previous != null) {
            throw new IllegalArgumentException("duplicate key: " + key);
          }
        }
        this.delegate = Collections.unmodifiableMap(delegate);
      }
    
      @Override
      boolean isPartialView() {
        return false;
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifact.java

            return (depMngt != null) ? Collections.unmodifiableList(depMngt.getDependencies()) : Collections.emptyList();
        }
    
        // TODO: this is duplicate of PomArtifactHandlerProvider provided one
        static class PomArtifactHandler implements ArtifactHandler {
            @Override
            public String getClassifier() {
                return null;
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top