Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 1,153 for Equals (0.04 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionSetFilter.java

            hash = hash * 31 + excludes.hashCode();
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (obj instanceof ExclusionSetFilter other) {
                return excludes.equals(other.excludes);
            } else {
                return false;
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2K bytes
    - Click Count (0)
  2. android/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)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt

    internal fun Headers.commonValues(name: String): List<String> {
      var result: MutableList<String>? = null
      for (i in 0 until size) {
        if (name.equals(name(i), ignoreCase = true)) {
          if (result == null) result = ArrayList(2)
          result.add(value(i))
        }
      }
      return result?.unmodifiable().orEmpty()
    }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                }
            }
        }
    
        private boolean withinSameGav(Artifact a1, Artifact a2) {
            return Objects.equals(a1.getGroupId(), a2.getGroupId())
                    && Objects.equals(a1.getArtifactId(), a2.getArtifactId())
                    && Objects.equals(a1.getVersion(), a2.getVersion());
        }
    
        private Properties toProperties(Map<String, String> dominant, Map<String, String> recessive) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            String originalPackaging = project.getOriginalModel().getPackaging();
    
            // Check if this is a BOM (original packaging is "bom")
            boolean isBom = BOM_PACKAGING.equals(originalPackaging);
    
            // Check if mixins are present without flattening enabled
            if (!model.getMixins().isEmpty() && !flattenEnabled && !model.isPreserveModelVersion()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Nov 27 07:40:26 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

        @Override
        public boolean equals(Object o) {
            if (o == this) {
                return true;
            }
    
            if (o instanceof Artifact a) {
                if (!a.getGroupId().equals(getGroupId())) {
                    return false;
                } else if (!a.getArtifactId().equals(getArtifactId())) {
                    return false;
                } else if (!a.getVersion().equals(getVersion())) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        } else if (object instanceof RegularContiguousSet) {
          RegularContiguousSet<?> that = (RegularContiguousSet<?>) object;
          if (this.domain.equals(that.domain)) {
            return this.first().equals(that.first()) && this.last().equals(that.last());
          }
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

            System.out.println(a.getScope());
            assertTrue(a.getScope().equals("test"), "Incorrect scope for " + a.getDependencyConflictId());
    
            // transitive dep, overridden b depMgmt
            assertTrue(b.getScope().equals("runtime"), "Incorrect scope for " + b.getDependencyConflictId());
    
            // direct dep, overrides depMgmt
            assertTrue(c.getScope().equals("runtime"), "Incorrect scope for " + c.getDependencyConflictId());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/Predicate.java

       * required, to have the following properties:
       *
       * <ul>
       *   <li>Its execution does not cause any observable side effects.
       *   <li>The computation is <i>consistent with equals</i>; that is, {@link Objects#equal
       *       Objects.equal}{@code (a, b)} implies that {@code predicate.apply(a) ==
       *       predicate.apply(b))}.
       * </ul>
       *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 18 15:22:00 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/resolver/MavenChainedWorkspaceReader.java

                return type;
            }
    
            @Override
            public boolean equals(Object obj) {
                if (this == obj) {
                    return true;
                } else {
                    return obj != null && this.getClass().equals(obj.getClass()) && this.keys.equals(((Key) obj).keys);
                }
            }
    
            @Override
            public int hashCode() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top