Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 1,801 for equals (0.13 seconds)

  1. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java

            }
            return true;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj == null || getClass() != obj.getClass()) {
                return false;
            }
            Smb2LeaseKey other = (Smb2LeaseKey) obj;
            return Arrays.equals(key, other.key);
        }
    
        @Override
        public int hashCode() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 00:16:17 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/ProjectScope.java

     * <p>
     * This extensible enum has two defined values, {@link #MAIN} and {@link #TEST},
     * but can be extended by registering a {@code org.apache.maven.api.spi.ProjectScopeProvider}.
     * <p>
     * Implementation must have {@code equals()} and {@code hashCode()} implemented, so implementations of this interface
     * can be used as keys.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    @SuppressWarnings("checkstyle:InterfaceIsType")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Feb 05 09:42:51 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/TaskSegment.java

        }
    
        public List<Task> getTasks() {
            return tasks;
        }
    
        public boolean isAggregating() {
            return aggregating;
        }
    
        // TODO Consider throwing UnsupportedSomething on hashCode/equals
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/CrawlingConfigHelper.java

            final String configType = configId.substring(0, 1);
            if (ConfigType.WEB.getTypePrefix().equals(configType)) {
                return ConfigType.WEB;
            }
            if (ConfigType.FILE.getTypePrefix().equals(configType)) {
                return ConfigType.FILE;
            }
            if (ConfigType.DATA.getTypePrefix().equals(configType)) {
                return ConfigType.DATA;
            }
            return null;
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 19.5K bytes
    - Click Count (1)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchTestBasePlugin.java

                    logging.setShowExceptions(true);
                    logging.setShowCauses(true);
                    logging.setExceptionFormat("full");
                });
    
                if (OS.current().equals(OS.WINDOWS) && System.getProperty("tests.timeoutSuite") == null) {
                    // override the suite timeout to 30 mins for windows, because it has the most inefficient filesystem known to man
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Aug 24 22:14:49 GMT 2021
    - 10.4K bytes
    - Click Count (0)
  6. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            InputSource that = (InputSource) o;
            return java.util.Objects.equals(modelId, that.modelId)
                    && java.util.Objects.equals(location, that.location)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/ImmutableEnumMap.java

        return delegate.get(key);
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof ImmutableEnumMap) {
          object = ((ImmutableEnumMap<?, ?>) object).delegate;
        }
        return delegate.equals(object);
      }
    
      @Override
      UnmodifiableIterator<Entry<K, V>> entryIterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

                        + " Optional=" + (artifact.isOptional() ? "true" : "false"));
                assertTrue(
                        artifact.getVersion().equals("1.0"), "Incorrect version for " + artifact.getDependencyConflictId());
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  9. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/warnings/RemoveWarnings.java

        @Input
        public Set<String> getWarnings() {
            return warnings;
        }
    
        @Override
        public boolean shouldApply(RestTestContext testContext) {
            return testName == null || testContext.getTestName().equals(testName);
        }
    
        @Input
        @Optional
        public String getTestName() {
            return testName;
        }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Jul 15 08:50:42 GMT 2021
    - 2.9K bytes
    - Click Count (0)
  10. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt

        } catch (ce: CertificateException) {
          throw SSLPeerUnverifiedException(ce.message).apply { initCause(ce) }
        }
      }
    
      override fun equals(other: Any?): Boolean =
        other is AndroidCertificateChainCleaner &&
          other.trustManager === this.trustManager
    
      override fun hashCode(): Int = System.identityHashCode(trustManager)
    
      companion object {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 2.7K bytes
    - Click Count (0)
Back to Top