Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 639 for iguals (0.04 sec)

  1. guava-testlib/src/com/google/common/testing/RelationshipTester.java

       * identical inputs: This sounds like it ought to be a problem here, since the goals of this class
       * include testing that {@code equals()} is reflexive and is tolerant of {@code null}. However,
       * there's no problem. The reason: {@link EqualsTester} tests {@code null} and identical inputs
       * directly against {@code equals()} rather than through the {@code Equivalence}.
       */
      private final Equivalence<? super T> equivalence;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/RelationshipTester.java

       * identical inputs: This sounds like it ought to be a problem here, since the goals of this class
       * include testing that {@code equals()} is reflexive and is tolerant of {@code null}. However,
       * there's no problem. The reason: {@link EqualsTester} tests {@code null} and identical inputs
       * directly against {@code equals()} rather than through the {@code Equivalence}.
       */
      private final Equivalence<? super T> equivalence;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. guava/src/com/google/common/eventbus/SubscriberRegistry.java

        public int hashCode() {
          return Objects.hash(name, parameterTypes);
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          if (o instanceof MethodIdentifier) {
            MethodIdentifier ident = (MethodIdentifier) o;
            return name.equals(ident.name) && parameterTypes.equals(ident.parameterTypes);
          }
          return false;
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SecurityBlobTest.java

            // Act & Assert
            assertTrue(left.equals(right), "Blobs with equal content should be equal");
            assertTrue(right.equals(left), "Equality should be symmetric for identical content");
        }
    
        // Demonstrates observed equals() asymmetry when this is shorter than argument
        @Test
        @DisplayName("equals: this shorter but same prefix -> true (observed behavior)")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/EqualsTester.java

          assertTrue(item + " must not be Object#equals to null", !item.equals(null));
          assertTrue(
              item + " must not be Object#equals to an arbitrary object of another class",
              !item.equals(NotAnInstance.EQUAL_TO_NOTHING));
          assertTrue(item + " must be Object#equals to itself", item.equals(item));
          assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

                if (URL_ELEMENT.equals(qName)) {
                    sitemapUrl = new SitemapUrl();
                } else if (LOC_ELEMENT.equals(qName) || LASTMOD_ELEMENT.equals(qName) || CHANGEFREQ_ELEMENT.equals(qName)
                        || PRIORITY_ELEMENT.equals(qName)) {
                    buf = new StringBuilder();
                }
            }
    
            @Override
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 14.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            assertEquals(hashCode1, hashCode2);
        }
    
        // Test equals method
        public void test_equals() {
            // Test equals method basic functionality
            assertTrue(crawlerEngineClient.equals(crawlerEngineClient));
            assertFalse(crawlerEngineClient.equals(null));
            assertFalse(crawlerEngineClient.equals("string"));
    
            CrawlerEngineClient other = new CrawlerEngineClient();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            // Test reflexivity
            assertTrue(item1.equals(item1));
    
            // Test symmetry and arrays with different order
            assertTrue(item1.equals(item2));
            assertTrue(item2.equals(item1));
    
            // Test with different inputs
            assertFalse(item1.equals(item3));
            assertFalse(item3.equals(item1));
    
            // Test with different output
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals(final Object obj) {
            if (!(obj instanceof final DfsReferralData other)) {
                return false;
            }
            return Objects.equals(getServer(), other.getServer()) && Objects.equals(getShare(), other.getShare())
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java

            return stream(user.getRoleNames()).get(stream -> stream.anyMatch(s -> s.equals(role)));
        }
    
        public boolean hasRoles(final String[] acceptedRoles) {
            return stream(user.getRoleNames())
                    .get(stream -> stream.anyMatch(s1 -> stream(acceptedRoles).get(s3 -> s3.anyMatch(s2 -> s2.equals(s1)))));
        }
    
        public boolean hasGroup(final String group) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top