Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for Objects (0.14 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

                    DefaultNode node = new DefaultNode(session, resolverNode, false);
                    return Collections.unmodifiableMap(node.stream()
                            .filter(Objects::nonNull)
                            .map(Node::getDependency)
                            .filter(Objects::nonNull)
                            .collect(Collectors.toMap(d -> d.getGroupId() + ":" + d.getArtifactId(), d -> d)));
                }
            };
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java

            @Override
            public boolean equals(Object obj) {
                if (this == obj) {
                    return true;
                }
                if (null == obj || !getClass().equals(obj.getClass())) {
                    return false;
                }
                GavCacheKey that = (GavCacheKey) obj;
                return Objects.equals(this.gav, that.gav) && Objects.equals(this.tag, that.tag);
            }
    
            @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultDependencyManagementImporter.java

            return Objects.equals(d1.getGroupId(), d2.getGroupId())
                    && Objects.equals(d1.getArtifactId(), d2.getArtifactId())
                    && Objects.equals(d1.getVersion(), d2.getVersion())
                    && Objects.equals(d1.getType(), d2.getType())
                    && Objects.equals(d1.getClassifier(), d2.getClassifier())
                    && Objects.equals(d1.getScope(), d2.getScope())
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactCoordinate.java

                    && Objects.equals(this.getClassifier(), that.getClassifier());
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(getGroupId(), getArtifactId(), getVersion(), getClassifier());
        }
    
        @Override
        public String toString() {
            return coordinate.toString();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsXmlFactory.java

     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.io.Reader;
    import java.io.Writer;
    import java.util.Objects;
    
    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.di.Named;
    import org.apache.maven.api.di.Singleton;
    import org.apache.maven.api.model.InputSource;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelTransformerContext.java

                    return false;
                }
    
                GAKey other = (GAKey) obj;
                return Objects.equals(artifactId, other.artifactId) && Objects.equals(groupId, other.groupId);
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/SimpleLookup.java

    import org.apache.maven.api.services.LookupException;
    
    public class SimpleLookup implements Lookup {
        private final List<Object> objects;
    
        public SimpleLookup(List<Object> objects) {
            this.objects = objects;
        }
    
        @Override
        public <T> T lookup(Class<T> type) {
            return objects.stream()
                    .filter(type::isInstance)
                    .map(type::cast)
                    .findAny()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    .getOrDefault(artifact.getArtifactId(), Collections.emptyMap())
                    .values()
                    .stream()
                    .filter(p -> Objects.nonNull(findArtifact(p, artifact)))
                    .map(MavenProject::getVersion)
                    .collect(Collectors.collectingAndThen(Collectors.toList(), Collections::unmodifiableList));
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilderResult.java

     * under the License.
     */
    package org.apache.maven.internal.impl.model;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.Optional;
    import java.util.stream.Collectors;
    import java.util.stream.Stream;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.model.Profile;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.Arrays;
    import java.util.Comparator;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Objects;
    import java.util.stream.Collectors;
    
    import org.apache.maven.api.services.LifecycleRegistry;
    import org.apache.maven.api.services.Lookup;
    import org.apache.maven.api.services.LookupException;
    import org.slf4j.Logger;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6K bytes
    - Viewed (0)
Back to top