Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for merge (0.13 sec)

  1. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java

            }
    
            return new InputLocation(-1, -1, InputSource.merge(source.getSource(), target.getSource()), locations);
        } // -- InputLocation merge( InputLocation, InputLocation, boolean )
    
        /**
         * Merges the {@code source} location into the {@code target} location.
         * This method is used when the locations refer to lists and also merges the indices.
         *
         * @param target the target location
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Sep 05 16:06:44 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java

      public void testAbsent() {
        assertEquals(
            "Map.merge(absent, value, function) should return value",
            v3(),
            getMap()
                .merge(
                    k3(),
                    v3(),
                    (oldV, newV) -> {
                      throw new AssertionFailedError(
                          "Should not call merge function if key was absent");
                    }));
        expectAdded(e3());
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  3. api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java

        @Nullable
        Object getInputLocation();
    
        default XmlNode merge(@Nullable XmlNode source) {
            return merge(source, (Boolean) null);
        }
    
        XmlNode merge(@Nullable XmlNode source, @Nullable Boolean childMergeOverride);
    
        /**
         * Merge recessive into dominant and return either {@code dominant}
         * with merged information or a clone of {@code recessive} if
         * {@code dominant} is {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Nov 27 23:11:34 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            return metadata;
        }
    
        public void merge(org.apache.maven.repository.legacy.metadata.ArtifactMetadata metadata) {
            // TODO not sure that it should assume this, maybe the calls to addMetadata should pre-merge, then artifact
            // replaces?
            AbstractRepositoryMetadata repoMetadata = (AbstractRepositoryMetadata) metadata;
            this.metadata.merge(repoMetadata.getMetadata());
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileInjector.java

     *
     */
    public interface ProfileInjector {
    
        /**
         * Merges values from the specified profile into the given model. Implementations are expected to keep the profile
         * and model completely decoupled by injecting deep copies rather than the original objects from the profile.
         *
         * @param model The model into which to merge the values defined by the profile, must not be <code>null</code>.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/CollectorTester.java

            for (T input : inputs) {
              collector.accumulator().accept(accum, input);
            }
            return accum;
          }
        },
        /** Get one accumulator for each element and merge the accumulators left-to-right. */
        MERGE_LEFT_ASSOCIATIVE {
          @Override
          final <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
              A result(Collector<T, A, R> collector, Iterable<T> inputs) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  7. maven-artifact/src/main/java/org/apache/maven/repository/legacy/metadata/ArtifactMetadata.java

         *
         * @return the filename
         */
        String getRemoteFilename();
    
        /**
         * Merge a new metadata set into this piece of metadata.
         * TODO this should only be needed on the repository metadata {@link org.apache.maven.artifact.metadata.ArtifactMetadata}
         *
         * @param metadata the new metadata
         */
        void merge(ArtifactMetadata metadata);
    
        /**
         * Store the metadata in the local repository.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/TableCollectors.java

        void put(R row, C column, V value, BinaryOperator<V> merger) {
          MutableCell<R, C, V> oldCell = table.get(row, column);
          if (oldCell == null) {
            MutableCell<R, C, V> cell = new MutableCell<>(row, column, value);
            insertionOrder.add(cell);
            table.put(row, column, cell);
          } else {
            oldCell.merge(value, merger);
          }
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenMetadata.java

        }
    
        @Deprecated
        public void merge(File existing, File result) throws RepositoryException {
            merge(existing != null ? existing.toPath() : null, result != null ? result.toPath() : null);
        }
    
        @Override
        public void merge(Path existing, Path result) throws RepositoryException {
            Metadata recessive = read(existing);
    
            merge(recessive);
    
            write(result, metadata);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

                }
                return result;
            }
    
            public void merge(org.apache.maven.repository.legacy.metadata.ArtifactMetadata metadata) {
                // not used
            }
    
            public void merge(ArtifactMetadata metadata) {
                // not used
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
Back to top