Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,227 for instanceOf (0.36 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/ReflectionFreeAssertThrows.java

              .put(IllegalStateException.class, e -> e instanceof IllegalStateException)
              .put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException)
              .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException)
              .put(NullPointerException.class, e -> e instanceof NullPointerException)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

            // Test that FessUserNotFoundException is an instance of FessSystemException
            FessUserNotFoundException exception = new FessUserNotFoundException("testuser");
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/ReflectionFreeAssertThrows.java

              .put(IllegalArgumentException.class, e -> e instanceof IllegalArgumentException)
              .put(IllegalStateException.class, e -> e instanceof IllegalStateException)
              .put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException)
              .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/ReflectionFreeAssertThrows.java

              .put(IllegalStateException.class, e -> e instanceof IllegalStateException)
              .put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException)
              .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException)
              .put(NullPointerException.class, e -> e instanceof NullPointerException)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/net/ReflectionFreeAssertThrows.java

              .put(IllegalStateException.class, e -> e instanceof IllegalStateException)
              .put(IndexOutOfBoundsException.class, e -> e instanceof IndexOutOfBoundsException)
              .put(NoSuchElementException.class, e -> e instanceof NoSuchElementException)
              .put(NullPointerException.class, e -> e instanceof NullPointerException)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/QueryParseExceptionTest.java

            // Verify inheritance chain
            assertTrue(queryParseException instanceof QueryParseException);
            assertTrue(queryParseException instanceof FessSystemException);
            assertTrue(queryParseException instanceof RuntimeException);
            assertTrue(queryParseException instanceof Exception);
            assertTrue(queryParseException instanceof Throwable);
        }
    
        public void test_nullHandling() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            } catch (Exception e) {
                // Expected - utility classes should have private constructors
                assertTrue(e instanceof IllegalAccessException || e.getCause() instanceof IllegalAccessException
                        || e instanceof InstantiationException);
            }
        }
    
        public void test_constants_and_static_methods() {
            // Verify all public static methods exist
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Float) {
                return (Float) o;
            } else if (o instanceof Number) {
                return Float.valueOf(((Number) o).floatValue());
            } else if (o instanceof String) {
                return toFloat((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java

            QueryBuilder builder = queryProcessor.execute(context, prefixQuery, 1.0f);
    
            assertNotNull(builder);
            assertTrue(builder instanceof DefaultQueryBuilder);
    
            // Query was processed successfully
        }
    
        public void test_convertPrefixQuery_withDefaultField_dismax() throws Exception {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

            assertNotNull(result);
            assertTrue(result instanceof List);
            @SuppressWarnings("unchecked")
            List<Object> resultList = (List<Object>) result;
            assertEquals(3, resultList.size());
    
            // First element should be converted to Map since it's an Entity
            assertTrue(resultList.get(0) instanceof Map);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 9K bytes
    - Viewed (0)
Back to top