Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,248 for equals (0.04 sec)

  1. src/main/java/jcifs/smb1/netbios/Name.java

        }
    
        @Override
        public boolean equals(final Object obj) {
            Name n;
    
            if (!(obj instanceof Name)) {
                return false;
            }
            n = (Name) obj;
            if (scope == null && n.scope == null) {
                return name.equals(n.name) && hexCode == n.hexCode;
            }
            return name.equals(n.name) && hexCode == n.hexCode && scope.equals(n.scope);
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java

        }
      }
    
      static class SlowElement extends Element {
        SlowElement(int hash) {
          super(hash);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return slowItDown() != 1 && super.equals(obj);
        }
    
        @Override
        public int hashCode() {
          return slowItDown() + hash;
        }
    
        @Override
        public int compareTo(Element e) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

                            && Objects.equals(dependencies, that.dependencies)
                            && Objects.equals(managedDependencies, that.managedDependencies)
                            && Objects.equals(pathScope, that.pathScope)
                            && Objects.equals(pathTypeFilter, that.pathTypeFilter)
                            && Objects.equals(repositories, that.repositories);
                }
    
                @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. 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)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            /* farthest is runtime and nearest has lower priority, change to runtime */
            if (Artifact.SCOPE_RUNTIME.equals(farthestArtifact.getScope())
                    && (Artifact.SCOPE_TEST.equals(nearestArtifact.getScope())
                            || Artifact.SCOPE_PROVIDED.equals(nearestArtifact.getScope()))) {
                updateScope = true;
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/dict/stemmeroverride/StemmerOverrideItem.java

        }
    
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj == null || getClass() != obj.getClass()) {
                return false;
            }
            final StemmerOverrideItem other = (StemmerOverrideItem) obj;
            if (!Objects.equals(input, other.input) || !Objects.equals(output, other.output)) {
                return false;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java

                }
    
                @Override
                public boolean equals(Object o) {
                    return o instanceof DefaultArtifactDeployerRequest that
                            && retryFailedDeploymentCount == that.retryFailedDeploymentCount
                            && Objects.equals(repository, that.repository)
                            && Objects.equals(artifacts, that.artifacts);
                }
    
                @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverRequest.java

                    return repositories;
                }
    
                @Override
                public boolean equals(Object o) {
                    return o instanceof DefaultArtifactResolverRequest that
                            && Objects.equals(coordinates, that.coordinates)
                            && Objects.equals(repositories, that.repositories);
                }
    
                @Override
                public int hashCode() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeImplTest.java

        }
    
        // Test case for the equals method
        @Test
        void testEquals() {
            SmbTreeImpl tree1 = new SmbTreeImpl(session, "SHARE", "A:");
            SmbTreeImpl tree2 = new SmbTreeImpl(session, "SHARE", "A:");
            SmbTreeImpl tree3 = new SmbTreeImpl(session, "OTHER", "A:");
            assertEquals(tree1, tree2);
            assertFalse(tree1.equals(tree3));
        }
    
        // Test case for the unwrap method
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/math/PairedStats.java

       * guarantees {@code strictfp}-like semantics.)
       */
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj == null) {
          return false;
        }
        if (getClass() != obj.getClass()) {
          return false;
        }
        PairedStats other = (PairedStats) obj;
        return xStats.equals(other.xStats)
            && yStats.equals(other.yStats)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top