Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,186 for iguals (0.06 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraphNode.java

                if (node2.metadata == null) {
                    return metadata == null;
                }
    
                return metadata != null && metadata.toString().equals(node2.metadata.toString());
            } else {
                return super.equals(obj);
            }
        }
    
        @Override
        public int hashCode() {
            if (metadata == null) {
                return super.hashCode();
            }
    
            return metadata.toString().hashCode();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ByFunctionOrdering.java

      }
    
      @Override
      public boolean equals(@CheckForNull Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof ByFunctionOrdering) {
          ByFunctionOrdering<?, ?> that = (ByFunctionOrdering<?, ?>) object;
          return this.function.equals(that.function) && this.ordering.equals(that.ordering);
        }
        return false;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Jun 20 14:22:42 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/ObjectUtilTest.java

         * {@link org.codelibs.core.lang.ObjectUtil#equals(java.lang.Object, java.lang.Object)}
         * .
         */
        @Test
        public void testEqualsObjectObject() {
            assertThat(ObjectUtil.equals(null, null), is(true));
            assertThat(ObjectUtil.equals(null, ""), is(false));
            assertThat(ObjectUtil.equals("", null), is(false));
            assertThat(ObjectUtil.equals("", ""), is(true));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Organization().equals(null));
    
            new Organization().equals(new Organization());
        }
    
        @Test
        void testEqualsIdentity() {
            Organization thing = new Organization();
            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
    - 2.6K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/AbstractLanguageElement.java

        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            AbstractLanguageElement that = (AbstractLanguageElement) o;
            return Objects.equals(rawCommentText, that.rawCommentText) &&
                Objects.equals(annotationNames, that.annotationNames);
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

              e,
              equalObject1
                  + " [group 1, item 1] must be Object#equals to "
                  + notEqualObject1
                  + " [group 1, item 2]");
          return;
        }
        fail("Should get not equal to equal object error");
      }
    
      /**
       * Test EqualsTester with no equals or not equals objects. This checks proper handling of null,
       * incompatible class and reflexive tests
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java

        // setToTest should throw when it calls equals(), or equals is called on it, except for itself
        assertThat(setToTest).isEqualTo(setToTest);
        assertThrows(IllegalStateException.class, () -> setToTest.equals(wrappedSet));
        assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfWrappedSet));
        assertThrows(IllegalStateException.class, () -> setToTest.equals(copyOfModifiedSet));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

                while (resources.hasMoreElements()) {
                    final URL resource = resources.nextElement();
                    logger.debug("loading {}", resource);
                    if ("file".equals(resource.getProtocol())) {
                        final File directory = new File(resource.getFile());
                        if (directory.exists() && directory.isDirectory()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Wed Jun 19 01:34:15 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/synonym/SynonymItemTest.java

            assertTrue(synonymItem1.equals(synonymItem1));
            assertTrue(synonymItem1.equals(new SynonymItem(1, new String[] { "A", "a" }, new String[] { "B", "b" })));
            assertTrue(synonymItem1.equals(new SynonymItem(2, new String[] { "A", "a" }, new String[] { "B", "b" })));
            assertFalse(synonymItem1.equals(new SynonymItem(2, new String[] { "A", "a" }, new String[] { "B", })));
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. android/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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 11.5K bytes
    - Viewed (0)
Back to top