Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 39 for asSubclass (0.15 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava/src/com/google/common/primitives/UnsignedBytes.java

        static Comparator<byte[]> getBestComparator() {
          try {
            Class<? extends LexicographicalComparator> unsafeImpl =
                Class.forName(UNSAFE_COMPARATOR_NAME).asSubclass(LexicographicalComparator.class);
            // requireNonNull is safe because the class is an enum.
            LexicographicalComparator unsafeComparator =
                requireNonNull(unsafeImpl.getEnumConstants())[0];
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 21K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/reflect/SubtypeTester.java

            // The raw class isn't even a subclass.
          }
        }
        if (!spec.suppressGetSupertype()) {
          try {
            assertThat(getSupertype(paramType, TypeToken.of(returnType).getRawType()))
                .isNotEqualTo(returnType);
          } catch (IllegalArgumentException notSubtype2) {
            // The raw class isn't even a subclass.
          }
        }
        return null;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

            // The raw class isn't even a subclass.
          }
        }
        if (!spec.suppressGetSupertype()) {
          try {
            assertThat(getSupertype(paramType, TypeToken.of(returnType).getRawType()))
                .isNotEqualTo(returnType);
          } catch (IllegalArgumentException notSubtype2) {
            // The raw class isn't even a subclass.
          }
        }
        return null;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:11:48 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  4. fastapi/security/open_id_connect_url.py

        **Warning**: this is only a stub to connect the components with OpenAPI in FastAPI,
        but it doesn't implement the full OpenIdConnect scheme, for example, it doesn't use
        the OpenIDConnect URL. You would need to subclass it and implement it in your
        code.
        """
    
        def __init__(
            self,
            *,
            openIdConnectUrl: Annotated[
                str,
                Doc(
                    """
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Mar 16 10:16:48 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/graph/AbstractValueGraph.java

     * this class rather than implement {@link ValueGraph} directly.
     *
     * <p>The methods implemented in this class should not be overridden unless the subclass admits a
     * more efficient implementation.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     * @param <V> Value parameter type
     * @since 20.0
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/app/job/ScriptExecutorJobTest.java

                    return "OK";
                }
            };
            ComponentUtil.register(jobExecutor, "scriptJobExecutor");
        }
    
        /**
         * Testable subclass that exposes the protected process() method.
         */
        private static class TestableScriptExecutorJob extends ScriptExecutorJob {
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java

            assertEquals(error, exception.getCause());
        }
    
        @Test
        public void test_constructorWithThrowableCause_LinkageError() {
            // Test with LinkageError subclass
            String message = "SSO login class loading error";
            NoClassDefFoundError error = new NoClassDefFoundError("SSO provider class not found");
            SsoLoginException exception = new SsoLoginException(message, error);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.7K bytes
    - Click Count (0)
  8. docs/features/events.md

     * The performance of these calls on the underlying network. If the network’s performance isn’t sufficient, you need to either improve the network or use less of it.
    
    ### EventListener
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertThat(future.isDone()).isFalse();
        assertThat(future.set(1)).isTrue();
        assertSuccessful(future, 1);
      }
    
      /** Concrete subclass for testing. */
      private static class TestedFuture<V extends @Nullable Object> extends AbstractFuture<V> {
        private static <V extends @Nullable Object> TestedFuture<V> create() {
          return new TestedFuture<V>();
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exception/ResultOffsetExceededExceptionTest.java

            assertTrue(exception.getStackTrace().length > 0);
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_inheritance() {
            // Test that ResultOffsetExceededException is a subclass of FessSystemException
            ResultOffsetExceededException exception = new ResultOffsetExceededException("Test message");
    
            assertTrue(exception instanceof FessSystemException);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.9K bytes
    - Click Count (0)
Back to Top