Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 1,542 for equals (0.04 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/features/TesterRequirements.java

        return absentFeatures;
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof TesterRequirements) {
          TesterRequirements that = (TesterRequirements) object;
          return this.presentFeatures.equals(that.presentFeatures)
              && this.absentFeatures.equals(that.absentFeatures);
        }
        return false;
      }
    
      @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 20:54:16 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/collection/ArrayMap.java

            }
    
            @Override
            public boolean equals(final Object o) {
                if (this == o) {
                    return true;
                }
                if (!(o instanceof Entry)) {
                    return false;
                }
                @SuppressWarnings("unchecked")
                final Entry<K, V> e = (Entry<K, V>) o;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

         * their caseless domain and username fields are equal and either both hashes are external and they are equal or
         * both internally supplied passwords are equal. If one {@code NtlmPasswordAuthentication} object has external
         * hashes (meaning negotiated via NTLM HTTP Authentication) and the other does not they will not be equal. This is
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

         */
        private String getNamespaceForModelVersion(String modelVersion) {
            if (MavenPomElements.ModelVersions.MODEL_VERSION_4_2_0.equals(modelVersion)) {
                return MavenPomElements.Namespaces.MAVEN_4_2_0_NAMESPACE;
            } else if (MODEL_VERSION_4_1_0.equals(modelVersion)) {
                return MAVEN_4_1_0_NAMESPACE;
            } else {
                return MAVEN_4_0_0_NAMESPACE;
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/collect/testing/MapTestSuiteBuilderTests.java

                  @Override
                  public int hashCode() {
                    return map.hashCode();
                  }
    
                  @Override
                  public boolean equals(@Nullable Object o) {
                    return map.equals(o);
                  }
    
                  @Override
                  public String toString() {
                    return map.toString();
                  }
    
                  @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu May 22 16:18:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionResolverRequest.java

                    return repositories;
                }
    
                @Override
                public boolean equals(Object o) {
                    return o instanceof DefaultVersionResolverRequest that
                            && Objects.equals(artifactCoordinates, that.artifactCoordinates)
                            && Objects.equals(repositories, that.repositories);
                }
    
                @Override
                public int hashCode() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. 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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jul 15 09:35:08 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

        }
    
        private PluginInfo extractPluginInfo(Artifact artifact) {
            // sanity: jar, no classifier and file exists
            if (artifact != null
                    && "jar".equals(artifact.getExtension())
                    && "".equals(artifact.getClassifier())
                    && artifact.getPath() != null) {
                Path artifactPath = artifact.getPath();
                if (Files.isRegularFile(artifactPath)) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/HashBiMap.java

          if (Objects.equals(array[entry], o)) {
            return entry;
          }
        }
        return ABSENT;
      }
    
      @Override
      public boolean containsKey(@Nullable Object key) {
        return findEntryByKey(key) != ABSENT;
      }
    
      /**
       * Returns {@code true} if this BiMap contains an entry whose value is equal to {@code value} (or,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 14:46:34 UTC 2025
    - 37.1K bytes
    - Viewed (0)
  10. 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)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top