Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 1,186 for equals (0.04 seconds)

  1. 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)
  2. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

            .filter(
                m ->
                    m.getName().equals("getDoneValue")
                        || m.getName().equals("casValue")
                        || m.getName().equals("casListeners")
                        || m.getName().equals("gasListeners"))
            .forEach(ignoredMembers::add);
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  3. 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. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

                      }
                    },
                  ).build()
              }
            }
          if ("close".equals(response.request.header("Connection"), ignoreCase = true) ||
            "close".equals(response.header("Connection"), ignoreCase = true)
          ) {
            exchange.noNewExchangesOnConnection()
          }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java

        /**
         * helper for equals
         */
        private static boolean objectsEqual(Object o1, Object o2) {
            if (o1 == null && o2 == null) {
                return true;
            }
            if (o1 == null || o2 == null) {
                return false; // as they are not both null
            }
            return o1.equals(o2);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java

                String expectedUnicode = String.valueOf(icon.getUnicodeChar());
                String expectedAscii = icon.getAsciiFallback();
                assertTrue(
                        result.equals(expectedUnicode) || result.equals(expectedAscii),
                        "Result should be either Unicode or ASCII fallback for " + icon + ", got: " + result);
            }
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Jul 15 09:35:08 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ParameterMetaData.java

        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            ParameterMetaData that = (ParameterMetaData) o;
            return Objects.equals(name, that.name) &&
                Objects.equals(type, that.type);
        }
    
        @Override
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

         */
        private static boolean isTestArtifact(Artifact artifact) {
            return ("test-jar".equals(artifact.getProperty("type", "")))
                    || ("jar".equals(artifact.getExtension()) && "tests".equals(artifact.getClassifier()));
        }
    
        private File findInProjectLocalRepository(Artifact artifact) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/FilteredMultimapTest.java

    @GwtIncompatible // nottested
    @NullUnmarked
    public class FilteredMultimapTest extends TestCase {
    
      private static final Predicate<Entry<String, Integer>> ENTRY_PREDICATE =
          entry ->
              !Objects.equals(entry.getKey(), "badkey") && !Objects.equals(entry.getValue(), 55556);
    
      protected Multimap<String, Integer> create() {
        Multimap<String, Integer> unfiltered = HashMultimap.create();
        unfiltered.put("foo", 55556);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 03:49:18 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/TypeMetaData.java

                varargs == that.varargs &&
                wildcard == that.wildcard &&
                Objects.equals(name, that.name) &&
                Objects.equals(typeArgs, that.typeArgs) &&
                Objects.equals(upperBounds, that.upperBounds) &&
                Objects.equals(lowerBounds, that.lowerBounds);
        }
    
        @Override
        public int hashCode() {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 6.1K bytes
    - Click Count (0)
Back to Top