Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,425 for equalTo (0.15 sec)

  1. android/guava/src/com/google/common/net/InternetDomainName.java

       * version of the same domain name would not be considered equal.
       */
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
    
        if (object instanceof InternetDomainName) {
          InternetDomainName that = (InternetDomainName) object;
          return this.name.equals(that.name);
        }
    
        return false;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 05 20:47:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

            }
            return hash + getURLPath().toUpperCase().hashCode();
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals ( Object obj ) {
            if ( ! ( obj instanceof SmbResourceLocatorImpl ) ) {
                return false;
            }
    
            SmbResourceLocatorImpl o = (SmbResourceLocatorImpl) obj;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/DependencyTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Dependency().equals(null));
    
            new Dependency().equals(new Dependency());
        }
    
        @Test
        void testEqualsIdentity() {
            Dependency thing = new Dependency();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Dependency().toString());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/DistributionManagementTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new DistributionManagement().equals(null));
    
            new DistributionManagement().equals(new DistributionManagement());
        }
    
        @Test
        void testEqualsIdentity() {
            DistributionManagement thing = new DistributionManagement();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/ExclusionTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Exclusion().equals(null));
    
            new Exclusion().equals(new Exclusion());
        }
    
        @Test
        void testEqualsIdentity() {
            Exclusion thing = new Exclusion();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Exclusion().toString());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/PluginTest.java

            new Plugin().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Plugin().equals(null));
    
            new Plugin().equals(new Plugin());
        }
    
        @Test
        void testEqualsIdentity() {
            Plugin thing = new Plugin();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Plugin().toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. compat/maven-model/src/test/java/org/apache/maven/model/ProfileTest.java

            new Profile().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Profile().equals(null));
    
            new Profile().equals(new Profile());
        }
    
        @Test
        void testEqualsIdentity() {
            Profile thing = new Profile();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Profile().toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/RepositoryPolicyTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new RepositoryPolicy().equals(null));
    
            new RepositoryPolicy().equals(new RepositoryPolicy());
        }
    
        @Test
        void testEqualsIdentity() {
            RepositoryPolicy thing = new RepositoryPolicy();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/ResourceTest.java

            new Resource().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Resource().equals(null));
    
            new Resource().equals(new Resource());
        }
    
        @Test
        void testEqualsIdentity() {
            Resource thing = new Resource();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Resource().toString());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java

        }
    
        private boolean equals(Dependency d1, Dependency d2) {
            return Objects.equals(d1.getGroupId(), d2.getGroupId())
                    && Objects.equals(d1.getArtifactId(), d2.getArtifactId())
                    && Objects.equals(d1.getVersion(), d2.getVersion())
                    && Objects.equals(d1.getType(), d2.getType())
                    && Objects.equals(d1.getClassifier(), d2.getClassifier())
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top