Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 1,610 for instanceof (0.09 seconds)

  1. guava/src/com/google/common/base/Predicates.java

       * example, {@code instanceOf(ArrayList.class)} will yield different results for the two equal
       * instances {@code Lists.newArrayList(1)} and {@code Arrays.asList(1)}.
       *
       * <p><b>Discouraged:</b> Prefer using {@code clazz::isInstance} or {@code x -> x instanceof
       * Clazz}, but note that lambdas do not have human-readable {@link #toString()} representations
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

            // Test that ScheduledJobException is instance of FessSystemException
            ScheduledJobException exception = new ScheduledJobException("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
    - 6.9K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java

                removeAnnotationChanges(member);
    
                if ((member instanceof JApiClass) && member.getCompatibilityChanges().isEmpty()) {
                    // A member of the class breaks binary compatibility.
                    // That will be handled when the member is passed to `maybeViolation`.
                    return null;
                }
                if (member instanceof JApiImplementedInterface) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  4. src/main/webapp/js/purify.min.js

    )&&(n in r||n in ht))return!1;if(Le&&!ve[t]&&b(ye,t));else if(xe&&b(Ee,t));else if(ke.attributeCheck instanceof Function&&ke.attributeCheck(t,e));else if(!Re[t]||ve[t]){if(!(Ot(e)&&(Ce.tagNameCheck instanceof RegExp&&b(Ce.tagNameCheck,e)||Ce.tagNameCheck instanceof Function&&Ce.tagNameCheck(e))&&(Ce.attributeNameCheck instanceof RegExp&&b(Ce.attributeNameCheck,t)||Ce.attributeNameCheck instanceof Function&&Ce.attributeNameCheck(t,e))||"is"===t&&Ce.allowCustomizedBuiltInElements&&(Ce.tagNameCheck...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:21:57 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

        }
    
        @Test
        public void test_instanceOf() {
            // Test that exception is instance of RuntimeException
            DictionaryExpiredException exception = new DictionaryExpiredException();
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_throwAndCatch() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/crawler/transformer/FessTransformerTest.java

            String[] newValues = new String[] { "value2", "value3" };
            transformer.putResultDataBody(dataMap, "key1", newValues);
    
            Object result = dataMap.get("key1");
            assertTrue(result instanceof Object[]);
            Object[] resultArray = (Object[]) result;
            assertEquals(3, resultArray.length);
            assertEquals("value1", resultArray[0]);
            assertEquals("value2", resultArray[1]);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java

        @Test
        public void test_constructor() {
            assertNotNull(target, "Constructor should create instance");
            assertTrue(target instanceof HotThreadMonitorTarget, "Instance should be of correct type");
            assertTrue(target instanceof MonitorTarget, "Instance should be a MonitorTarget");
            assertTrue(target instanceof TimeoutTarget, "Instance should be a TimeoutTarget");
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        assertThat(multimap.get("b")).containsExactly(3, 6).inOrder();
        assertFalse(multimap.get("a") instanceof ImmutableSortedSet);
        assertFalse(multimap.get("x") instanceof ImmutableSortedSet);
        assertFalse(multimap.asMap().get("a") instanceof ImmutableSortedSet);
      }
    
      public void testBuilderOrderKeysByDuplicates() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 28.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

            final JobProcessingException exception = new JobProcessingException("Test");
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_stackTrace() {
            // Test that stack trace is properly captured
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/job/JsonIndexExportFormatter.java

                    appendJsonValue(json, entry.getValue());
                }
                json.append("}");
            } else if (value instanceof Number) {
                json.append(value);
            } else if (value instanceof Boolean) {
                json.append(value);
            } else {
                json.append("\"").append(escapeJson(String.valueOf(value))).append("\"");
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Feb 07 10:31:36 GMT 2026
    - 4.3K bytes
    - Click Count (0)
Back to Top