Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 1,186 for equals (0.04 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

            return logger;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (obj == null) {
                return false;
            }
    
            if (this == obj) {
                return true;
            }
    
            if (obj instanceof DefaultToolchain other) {
                if (!Objects.equals(type, other.type)) {
                    return false;
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

                // 2.0.X == 2-X == 2.0.0.X for any string x
                checkVersionsEqual("2-" + x, "2.0." + x); // previously ordered, now equals
                checkVersionsEqual("2-" + x, "2.0.0." + x); // previously ordered, now equals
                checkVersionsEqual("2.0." + x, "2.0.0." + x); // previously ordered, now equals
            }
        }
    
        @Test
        public void testMng7714() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  3. 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)
  4. guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testSetValue_valueAbsent() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3K bytes
    - Click Count (0)
  5. compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (obj == null) {
                return false;
            }
    
            if (!StringSource.class.equals(obj.getClass())) {
                return false;
            }
    
            StringSource other = (StringSource) obj;
            return this.content.equals(other.content);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/Task.java

        }
    
        public String getValue() {
            return value;
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o instanceof Task task) {
                return Objects.equals(getClass(), task.getClass()) && Objects.equals(value, task.value);
            } else {
                return false;
            }
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java

      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(absent = ZERO)
      public void testSetValue_valueAbsent() {
        for (Entry<K, V> entry : getMap().entrySet()) {
          if (entry.getKey().equals(k0())) {
            assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3()));
          }
        }
        expectReplacement(entry(k0(), v3()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 3K bytes
    - Click Count (0)
  10. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (obj == null) {
                return false;
            }
    
            if (!FileSource.class.equals(obj.getClass())) {
                return false;
            }
    
            FileSource other = (FileSource) obj;
            return this.path.equals(other.path);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top