Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,227 for instanceOf (0.04 sec)

  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) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/CommandExecutionExceptionTest.java

            // Check inheritance chain
            assertTrue(exception instanceof CommandExecutionException);
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
    
            // Should be runtime exception (unchecked), not an Error
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/MoreObjects.java

          // Put types estimated to be the most frequent first.
          if (value instanceof CharSequence) {
            return ((CharSequence) value).length() == 0;
          } else if (value instanceof Collection) {
            return ((Collection<?>) value).isEmpty();
          } else if (value instanceof Map) {
            return ((Map<?, ?>) value).isEmpty();
          } else if (value instanceof java.util.Optional) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java

        if (cause instanceof Error) {
          throw new ExecutionError((Error) cause);
        } else if (cause instanceof RuntimeException) {
          throw new UncheckedExecutionException(cause);
        } else {
          throw new ExecutionException(cause);
        }
      }
    
      private void wrapAndThrowRuntimeExecutionExceptionOrError(Throwable cause) {
        if (cause instanceof Error) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            // Test that GsaConfigException is an instance of FessSystemException
            GsaConfigException exception = new GsaConfigException("Test");
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_serialization() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

        }
    
        public void test_inheritance() {
            // Test that SsoLoginException extends FessSystemException
            SsoLoginException exception = new SsoLoginException("Test");
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/exception/SUnsupportedOperationExceptionTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.exception;
    
    import static org.hamcrest.CoreMatchers.instanceOf;
    import static org.hamcrest.CoreMatchers.is;
    import static org.hamcrest.CoreMatchers.notNullValue;
    import static org.junit.Assert.assertThat;
    
    import org.junit.Test;
    
    /**
     * @author wyukawa
     *
     */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

            assertTrue(exception instanceof UnsupportedSearchException);
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_stackTrace() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java

            QueryContext context = new QueryContext("test", false);
            QueryBuilder result = booleanQueryCommand.execute(context, booleanQuery, 1.0f);
    
            assertNotNull(result);
            assertTrue(result instanceof BoolQueryBuilder);
    
            BoolQueryBuilder boolResult = (BoolQueryBuilder) result;
            assertTrue(boolResult.hasClauses());
        }
    
        // Test execute method with non-BooleanQuery (should throw exception)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            QueryBuilder result = queryProcessor.execute(context, boostQuery, 1.0f);
    
            assertNotNull(result);
            assertTrue(result instanceof FuzzyQueryBuilder || result instanceof DefaultQueryBuilder || result instanceof DisMaxQueryBuilder);
    
            if (result instanceof FuzzyQueryBuilder) {
                FuzzyQueryBuilder fuzzyQueryBuilder = (FuzzyQueryBuilder) result;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
Back to top