Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 1,167 for Equals (0.04 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

                assertTrue(project.getInjectedProfileIds().get(id).stream().noneMatch("profile1"::equals));
                assertTrue(project.getInjectedProfileIds().get(id).stream().noneMatch("profile2"::equals));
                assertTrue(project.getInjectedProfileIds().get(id).stream().anyMatch("active-by-default"::equals));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  2. guava/src/com/google/common/graph/IncidentEdgeSet.java

          Object target = endpointPair.target();
          return (node.equals(source) && successorsOrEmpty(node).contains(target))
              || (node.equals(target) && predecessorsOrEmpty(node).contains(source));
        } else {
          Set<N> adjacent = graph.adjacentNodes(node);
          Object nodeU = endpointPair.nodeU();
          Object nodeV = endpointPair.nodeV();
    
          return (node.equals(nodeV) && adjacent.contains(nodeU))
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            DefaultArtifact that = (DefaultArtifact) o;
            return Objects.equals(groupId, that.groupId)
                    && Objects.equals(artifactId, that.artifactId)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

            // [groupId]:artifactId
            if (selector.contains(":")) {
                String id = ':' + project.getArtifactId();
    
                if (id.equals(selector)) {
                    return true;
                }
    
                id = project.getGroupId() + id;
    
                return id.equals(selector);
            }
    
            // relative path, e.g. "sub", "../sub" or "."
            else if (reactorDirectory != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

                Element plugins = build.child("plugins").orElse(null);
    
                Element cleanPlugin = plugins.children("plugin")
                        .filter(p -> "maven-clean-plugin"
                                .equals(p.child("artifactId").orElse(null).textContent()))
                        .findFirst()
                        .orElse(null);
                assertNotNull(cleanPlugin);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                                                    value, valueSources, postProcessors, debugEnabled);
    
                                            if (!interpolated.equals(value)) {
                                                field.set(target, interpolated);
                                            }
                                        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/graph/ValueGraph.java

       * the same structural relationships as those in this graph.
       *
       * <p>Thus, two value graphs A and B are equal if <b>all</b> of the following are true:
       *
       * <ul>
       *   <li>A and B have equal {@link #isDirected() directedness}.
       *   <li>A and B have equal {@link #nodes() node sets}.
       *   <li>A and B have equal {@link #edges() edge sets}.
       *   <li>The {@link #edgeValue(N, N) value} of a given edge is the same in both A and B.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 16K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

        }
    
        static final class Pred<N> extends NodeConnection<N> {
          Pred(N node) {
            super(node);
          }
    
          @Override
          public boolean equals(@Nullable Object that) {
            if (that instanceof Pred) {
              return this.node.equals(((Pred<?>) that).node);
            } else {
              return false;
            }
          }
    
          @Override
          public int hashCode() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java

            @Override
            public boolean equals(Object obj) {
                if (this == obj) {
                    return true;
                }
    
                if (obj instanceof CacheKey that) {
                    return Objects.equals(this.artifactId, that.artifactId)
                            && Objects.equals(this.groupId, that.groupId)
                            && Objects.equals(this.version, that.version)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/GeneralRange.java

      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj instanceof GeneralRange) {
          GeneralRange<?> r = (GeneralRange<?>) obj;
          return comparator.equals(r.comparator)
              && hasLowerBound == r.hasLowerBound
              && hasUpperBound == r.hasUpperBound
              && getLowerBoundType().equals(r.getLowerBoundType())
              && getUpperBoundType().equals(r.getUpperBoundType())
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 10.8K bytes
    - Click Count (0)
Back to Top