Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 187 for issubclass (0.06 seconds)

  1. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            assertEquals("Q2", request.getMessages().get(0).getContent());
            assertEquals("Q3", request.getMessages().get(1).getContent());
        }
    
        // ========== Testable subclass ==========
    
        @FunctionalInterface
        interface StreamChatCapture {
            void capture(LlmChatRequest request, LlmStreamCallback callback);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  2. docs/ja/docs/tutorial/response-model.md

    このシンプルなケースは、戻り値の型アノテーションが `Response` のクラス(またはサブクラス)であるため、FastAPIが自動的に処理します。
    
    また `RedirectResponse` と `JSONResponse` の両方は `Response` のサブクラスなので、ツールも型アノテーションが正しいとして問題にしません。
    
    ### `Response`のサブクラスをアノテーションする { #annotate-a-response-subclass }
    
    型アノテーションで `Response` のサブクラスを使うこともできます:
    
    {* ../../docs_src/response_model/tutorial003_03_py310.py hl[8:9] *}
    
    これは `RedirectResponse` が `Response` のサブクラスであり、FastAPIがこのシンプルなケースを自動処理するため、同様に動作します。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/Synchronized.java

     * a lot of busy work, and the annotation matters only when the APIs to be annotated are visible to
     * Kotlin code. In this class, nothing is publicly visible (nor exposed indirectly through a
     * publicly visible subclass), and I doubt any of our current or future Kotlin extensions for the
     * package will refer to the class. Plus, @ParametricNullness is only a temporary workaround,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 53K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Synchronized.java

     * a lot of busy work, and the annotation matters only when the APIs to be annotated are visible to
     * Kotlin code. In this class, nothing is publicly visible (nor exposed indirectly through a
     * publicly visible subclass), and I doubt any of our current or future Kotlin extensions for the
     * package will refer to the class. Plus, @ParametricNullness is only a temporary workaround,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

                ComponentUtil.getComponent(LlmClientManager.class).register(this);
            }
        }
    
        /**
         * Initializes the HTTP client and starts availability checking.
         * Should be called from subclass init() methods.
         */
        public void init() {
            if (!getName().equals(getLlmType())) {
                if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Maps.java

       */
      public static <K extends @Nullable Object, V extends @Nullable Object> SortedMap<K, V> filterKeys(
          SortedMap<K, V> unfiltered, Predicate<? super K> keyPredicate) {
        // TODO(lowasser): Return a subclass of FilteredKeyMap for slightly better performance.
        return filterEntries(unfiltered, keyPredicateOnEntries(keyPredicate));
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Maps.java

       */
      public static <K extends @Nullable Object, V extends @Nullable Object> SortedMap<K, V> filterKeys(
          SortedMap<K, V> unfiltered, Predicate<? super K> keyPredicate) {
        // TODO(lowasser): Return a subclass of FilteredKeyMap for slightly better performance.
        return filterEntries(unfiltered, keyPredicateOnEntries(keyPredicate));
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        class To<V> {
          Type type() {
            return new TypeToken<To<V>>(getClass()) {}.getType();
          }
        }
      }
    
      public <T> void testRejectTypeVariable_withOwnerType() {
        // Neither has subclass
        assertHasTypeVariable(new From<Integer>().new To<String>().type());
        assertHasTypeVariable(new From<T>().new To<String>().type());
        assertHasTypeVariable(new From<Integer>().new To<T>().type());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/MapMakerInternalMap.java

        return (Segment<K, V, E, S>[]) new Segment<?, ?, ?, ?>[ssize];
      }
    
      // Inner Classes
    
      /**
       * Segments are specialized versions of hash tables. This subclass inherits from ReentrantLock
       * opportunistically, just to simplify some locking and avoid separate construction.
       */
      @SuppressWarnings("serial") // This class is never serialized.
      abstract static class Segment<
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 89.9K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        class To<V> {
          Type type() {
            return new TypeToken<To<V>>(getClass()) {}.getType();
          }
        }
      }
    
      public <T> void testRejectTypeVariable_withOwnerType() {
        // Neither has subclass
        assertHasTypeVariable(new From<Integer>().new To<String>().type());
        assertHasTypeVariable(new From<T>().new To<String>().type());
        assertHasTypeVariable(new From<Integer>().new To<T>().type());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 89.3K bytes
    - Click Count (0)
Back to Top