Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for hashcode (0.07 sec)

  1. src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java

            assertNotNull(result);
        }
    
        // Test hashCode method
        public void test_hashCode() {
            // Test that hashCode returns consistent value
            int hashCode1 = crawlerEngineClient.hashCode();
            int hashCode2 = crawlerEngineClient.hashCode();
            assertEquals(hashCode1, hashCode2);
        }
    
        // Test equals method
        public void test_equals() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

        }
    
        public void test_hashCode() {
            // Test hashCode consistency
            DictionaryExpiredException exception = new DictionaryExpiredException();
            int hashCode1 = exception.hashCode();
            int hashCode2 = exception.hashCode();
    
            assertEquals(hashCode1, hashCode2);
        }
    
        public void test_toString() {
            // Test toString method
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java

            // Same inputs and output should have same hash code
            assertEquals(item1.hashCode(), item2.hashCode());
    
            // Different inputs should have different hash code
            assertNotSame(item1.hashCode(), item3.hashCode());
    
            // Same inputs but different output should have different hash code
            assertNotSame(item1.hashCode(), item4.hashCode());
        }
    
        public void test_equals() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

        public void test_hashCode() {
            // Test hashCode consistency
            int metadataHashCode = SsoResponseType.METADATA.hashCode();
            int logoutHashCode = SsoResponseType.LOGOUT.hashCode();
    
            // Hash code should be consistent for the same object
            assertEquals(metadataHashCode, SsoResponseType.METADATA.hashCode());
            assertEquals(logoutHashCode, SsoResponseType.LOGOUT.hashCode());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java

            assertTrue(result.contains("acceptCookieTimeZone=false"));
            assertTrue(result.contains("@"));
    
            // Verify that hashCode is included in hex format
            String expectedHashCode = Integer.toHexString(provider.hashCode());
            assertTrue(result.contains(expectedHashCode));
        }
    
        // Test toString() format consistency
        public void test_toString_formatConsistency() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/persistent/HandleGuidTest.java

            HandleGuid guid2 = new HandleGuid(uuid);
            HandleGuid guid3 = new HandleGuid();
    
            assertEquals(guid1, guid2);
            assertEquals(guid1.hashCode(), guid2.hashCode());
            assertNotEquals(guid1, guid3);
            assertNotEquals(guid1.hashCode(), guid3.hashCode());
    
            assertNotEquals(guid1, null);
            assertNotEquals(guid1, "not a guid");
        }
    
        @Test
        public void testHandleGuidToString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

            // Different input should have different hashCode
            assertNotSame(item1.hashCode(), item4.hashCode());
        }
    
        public void test_equals() {
            // Test equals method
            StopwordsItem item1 = new StopwordsItem(1, "test");
            StopwordsItem item2 = new StopwordsItem(1, "test");
            StopwordsItem item3 = new StopwordsItem(2, "test");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java

            hashCodes.add(CrawlerStatus.INITIALIZING.hashCode());
            hashCodes.add(CrawlerStatus.RUNNING.hashCode());
            hashCodes.add(CrawlerStatus.DONE.hashCode());
    
            // While not guaranteed, typically enum hashCodes are different
            assertTrue(hashCodes.size() > 1);
        }
    
        /**
         * Test compareTo method
         */
        public void test_compareTo() {
            // Compare with self
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

            assertNotSame(item1.hashCode(), item3.hashCode());
    
            // Consistent hashCode
            assertEquals(item1.hashCode(), item1.hashCode());
        }
    
        public void test_hashCode_withNullInput() {
            // Test hashCode with null input should throw NullPointerException
            ProtwordsItem item = new ProtwordsItem(1, null);
            try {
                item.hashCode();
                fail("Expected NullPointerException");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/Types.java

              .append('>')
              .toString();
        }
    
        @Override
        public int hashCode() {
          return (ownerType == null ? 0 : ownerType.hashCode())
              ^ argumentsList.hashCode()
              ^ rawType.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object other) {
          if (!(other instanceof ParameterizedType)) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
Back to top