Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 1,610 for instanceof (0.05 seconds)

  1. android/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)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/math/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)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Short) {
                return (Short) o;
            } else if (o instanceof Number) {
                return ((Number) o).shortValue();
            } else if (o instanceof String) {
                return toShort((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  4. 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);
            }
        }
    
        @Test
        public void test_constants_and_static_methods() {
            // Verify all public static methods exist
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  5. 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) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            assertNotNull(result1);
            assertNotNull(result2);
    
            // Both results should be of the same type
            assertTrue(result1 instanceof MatchAllQueryBuilder);
            assertTrue(result2 instanceof MatchAllQueryBuilder);
    
            // Both should generate the same JSON
            String json1 = result1.toString().replaceAll("[\\s\\n]", "");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/ThumbnailGenerationExceptionTest.java

            // Test that ThumbnailGenerationException is an instance of FessSystemException
            ThumbnailGenerationException exception = new ThumbnailGenerationException("Test");
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/query/PhraseQueryCommandTest.java

            QueryBuilder result = queryCommand.convertPhraseQuery(context, phraseQuery, 1.0f);
    
            assertNotNull(result);
            assertTrue(result instanceof MatchPhraseQueryBuilder);
    
            // Verify query was processed
            assertNotNull(result);
            assertTrue(result instanceof MatchPhraseQueryBuilder);
        }
    
        @Test
        public void test_convertPhraseQuery_unknownField() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.3K bytes
    - Click Count (0)
  9. 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);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 6.8K bytes
    - Click Count (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);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.2K bytes
    - Click Count (0)
Back to Top