Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,073 for iguals (0.09 sec)

  1. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

                // Test null vs null
                assertTrue(auth1.equals(new NtlmPasswordAuthenticator("domain", "user", (String) null)));
    
                // Test null vs empty
                assertFalse(auth1.equals(auth2));
    
                // Test null vs password
                assertFalse(auth1.equals(auth3));
    
                // Test empty vs password
                assertFalse(auth2.equals(auth3));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

        @SuppressWarnings("EqualsHashCode")
        @Override
        public boolean equals(@Nullable Object other) {
          return (other instanceof ClassWhichIsAlwaysEqualButHasDifferentHashcodes);
        }
      }
    
      private static class ObjectWhichIsEqualButChangesClass implements Serializable {
        private static final long serialVersionUID = 1L;
    
        @Override
        public boolean equals(@Nullable Object other) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. 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);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          // In general getClass().isInstance() is bad for equals.
          // But here we fully control the subclasses to ensure symmetry.
          if (getClass().isInstance(obj)) {
            Wrapper that = (Wrapper) obj;
            return wrapped.equals(that.wrapped);
          }
          return false;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

         */
        public boolean equals(Object other) {
            if (this == other) {
                return true;
            } else if (other instanceof ToolchainModel that) {
                return java.util.Objects.equals(this.getType(), that.getType())
                    && java.util.Objects.equals(this.getProvides(), that.getProvides());
            } else {
                return false;
            }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/DummyProxy.java

        }
    
        @Override
        public int hashCode() {
          return identity().hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof DummyHandler) {
            DummyHandler that = (DummyHandler) obj;
            return identity().equals(that.identity());
          } else {
            return false;
          }
        }
    
        private DummyProxy identity() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

            RepositoryMetadata metadata;
            // Don't use snapshot metadata for LATEST (which isSnapshot returns true for)
            if (!artifact.isSnapshot() || Artifact.LATEST_VERSION.equals(artifact.getBaseVersion())) {
                metadata = new ArtifactRepositoryMetadata(artifact);
            } else {
                metadata = new SnapshotArtifactRepositoryMetadata(artifact);
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java

        }
    
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
            }
            if (!(obj instanceof final SitemapUrl sitemapUrl)) {
                return false;
            }
            if (StringUtil.equals(loc, sitemapUrl.loc) && StringUtil.equals(changefreq, sitemapUrl.changefreq)
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       * {@code C}:
       *
       * <ul>
       *   <li>If {@code C} explicitly implements {@link Object#equals}, the deserialized instance will
       *       be checked to be equal to the instance before serialization.
       *   <li>If {@code C} doesn't explicitly implement {@code equals} but instead inherits it from a
       *       superclass, no equality check is done on the deserialized instance because it's not clear
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            } else if (Artifact.SCOPE_COMPILE.equals(originalScope) && Artifact.SCOPE_COMPILE.equals(inheritedScope)) {
                // added to retain compile scope. Remove if you want compile inherited as runtime
                effectiveScope = Artifact.SCOPE_COMPILE;
            } else if (Artifact.SCOPE_TEST.equals(inheritedScope)) {
                effectiveScope = Artifact.SCOPE_TEST;
            } else if (Artifact.SCOPE_PROVIDED.equals(inheritedScope)) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Mar 26 10:49:22 UTC 2025
    - 30.4K bytes
    - Viewed (0)
Back to top