Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 1,610 for instanceof (0.08 seconds)

  1. android/guava/src/com/google/common/reflect/TypeResolver.java

        checkNotNull(type);
        if (type instanceof TypeVariable) {
          return typeTable.resolve((TypeVariable<?>) type);
        } else if (type instanceof ParameterizedType) {
          return resolveParameterizedType((ParameterizedType) type);
        } else if (type instanceof GenericArrayType) {
          return resolveGenericArrayType((GenericArrayType) type);
        } else if (type instanceof WildcardType) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  2. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

          return (other instanceof ClassWhichIsAlwaysEqualButHasDifferentHashcodes);
        }
      }
    
      private static class ObjectWhichIsEqualButChangesClass implements Serializable {
        private static final long serialVersionUID = 1L;
    
        @Override
        public boolean equals(@Nullable Object other) {
          return (other instanceof ObjectWhichIsEqualButChangesClass || other instanceof OtherForm);
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  3. guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

          return (other instanceof ClassWhichIsAlwaysEqualButHasDifferentHashcodes);
        }
      }
    
      private static class ObjectWhichIsEqualButChangesClass implements Serializable {
        private static final long serialVersionUID = 1L;
    
        @Override
        public boolean equals(@Nullable Object other) {
          return (other instanceof ObjectWhichIsEqualButChangesClass || other instanceof OtherForm);
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

                if (value == null) {
                    tempBuf.append("null");
                } else if (value instanceof Integer || value instanceof Long) {
                    tempBuf.append(value);
                } else if (value instanceof Short) {
                    tempBuf.append(((Short) value).shortValue());
                } else if (value instanceof double[]) {
                    tempBuf.append(Arrays.toString((double[]) value));
                } else {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

        @Test
        public void test_constructor() {
            assertNotNull(target, "Constructor should create instance");
            assertTrue(target instanceof SystemMonitorTarget, "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
    - 9.2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java

      public void testGetRandomAccess() {
        Multimap<String, Integer> multimap = create();
        multimap.put("foo", 1);
        multimap.put("foo", 3);
        assertTrue(multimap.get("foo") instanceof RandomAccess);
        assertTrue(multimap.get("bar") instanceof RandomAccess);
      }
    
      /** Confirm that removeAll() returns a List implementing RandomAccess. */
      public void testRemoveAllRandomAccess() {
        Multimap<String, Integer> multimap = create();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            StorageException exception = new StorageException("Test");
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_stackTraceWithCause() {
    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)
  8. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

            if (value instanceof Integer) {
                return ((Integer) value).floatValue();
            }
            if (value instanceof Long) {
                return ((Long) value).floatValue();
            }
            if (value instanceof Float) {
                return (Float) value;
            }
            if (value instanceof Double) {
                return ((Double) value).floatValue();
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/reflect/Types.java

       * called on the {@code TypeVariable} instance has the same name as one of the public methods of
       * {@link TypeVariableImpl}, the proxy calls the same method on its instance of {@code
       * TypeVariableImpl}. Otherwise it throws {@link UnsupportedOperationException}; this should only
       * apply to {@code getAnnotatedBounds()}. This does mean that users on Java who obtain an instance
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Oct 31 19:34:24 GMT 2025
    - 24.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/ThemeExceptionTest.java

            ThemeException exception = new ThemeException("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
    - 8.4K bytes
    - Click Count (0)
Back to Top