Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 1,167 for Equals (1 seconds)

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

                PhaseId phaseId = PhaseId.of(lifecyclePhase);
                if (lastLifecyclePhase == null) {
                    lastLifecyclePhase = phaseId.phase();
                } else if (!phaseId.phase().equals(lastLifecyclePhase)) {
                    project.addLifecyclePhase(lastLifecyclePhase);
                    lastLifecyclePhase = phaseId.phase();
                }
            }
    
            if (lastLifecyclePhase != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/TransferResourceIdentifier.java

    import org.eclipse.aether.transfer.TransferResource;
    
    /**
     * Immutable identifier of a {@link TransferResource}.
     * The {@link TransferResource} is not immutable and does not implement {@code Objects#equals} and {@code Objects#hashCode} methods,
     * making it not very suitable for usage in collections.
     */
    @Deprecated
    record TransferResourceIdentifier(
            String repositoryId,
            String repositoryUrl,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        }
      }
    
      static class SlowElement extends Element {
        SlowElement(int hash) {
          super(hash);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return slowItDown() != 1 && super.equals(obj);
        }
    
        @Override
        public int hashCode() {
          return slowItDown() + hash;
        }
    
        @Override
        public int compareTo(Element e) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/Maven3CompatDependenciesValidator.java

            for (org.eclipse.aether.graph.Dependency dependency : artifactDescriptorResult.getDependencies()) {
                if ("org.apache.maven".equals(dependency.getArtifact().getGroupId())
                        && "maven-compat".equals(dependency.getArtifact().getArtifactId())
                        && !DependencyScope.TEST.is(dependency.getScope())) {
                    pluginValidationManager.reportPluginValidationIssue(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ExplicitOrdering.java

          throw new IncomparableValueException(value);
        }
        return rank;
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof ExplicitOrdering) {
          ExplicitOrdering<?> that = (ExplicitOrdering<?>) object;
          return this.rankMap.equals(that.rankMap);
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        return rankMap.hashCode();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 2K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java

                        .filter(a -> phase.equals(a.v3Phase()))
                        .findFirst()
                        .map(Lifecycle.Alias::v4Phase)
                        .orElse(phase);
            }
    
            private String getResolvedPhase(String phase) {
                return lifecycles.stream()
                        .flatMap(l -> l.aliases().stream())
                        .filter(a -> phase.equals(a.v3Phase()))
                        .findFirst()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 55.1K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

                buildContext.getReactorBuildStatus().halt();
            } else if (MavenExecutionRequest.REACTOR_FAIL_NEVER.equals(rootSession.getReactorFailureBehavior())) {
                // continue the build
            } else if (MavenExecutionRequest.REACTOR_FAIL_AT_END.equals(rootSession.getReactorFailureBehavior())) {
                // continue the build but ban all projects that depend on the failed one
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/graph/StandardMutableNetwork.java

        if (containsEdge(edge)) {
          EndpointPair<N> existingIncidentNodes = incidentNodes(edge);
          EndpointPair<N> newIncidentNodes = EndpointPair.of(this, nodeU, nodeV);
          checkArgument(
              existingIncidentNodes.equals(newIncidentNodes),
              REUSING_EDGE,
              edge,
              existingIncidentNodes,
              newIncidentNodes);
          return false;
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 5.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/base/CaseFormat.java

          return targetFormat.to(sourceFormat, s);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof StringConverter) {
            StringConverter that = (StringConverter) obj;
            return sourceFormat.equals(that.sourceFormat) && targetFormat.equals(that.targetFormat);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Dec 03 18:46:33 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/artifact/FatArtifactTraverser.java

            requireNonNull(context, "context cannot be null");
            return this;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            } else if (null == obj || !getClass().equals(obj.getClass())) {
                return false;
            }
            return true;
        }
    
        @Override
        public int hashCode() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
Back to Top