Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 108 for issubclass (0.06 seconds)

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

  1. android/guava/src/com/google/common/io/CharSource.java

          }
          return processor.getResult();
        }
    
        @Override
        public String toString() {
          return "CharSource.wrap(" + Ascii.truncate(seq, 30, "...") + ")";
        }
      }
    
      /**
       * Subclass specialized for string instances.
       *
       * <p>Since Strings are immutable and built into the jdk we can optimize some operations
       *
       * <ul>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 25.7K bytes
    - Click Count (0)
  2. docs/ko/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:06:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/Joiner.java

        /*
         * requireNonNull is not safe: Joiner.on(...).join(somethingThatContainsNull) will indeed throw.
         * However, Joiner.on(...).useForNull(...).join(somethingThatContainsNull) *is* safe -- because
         * it returns a subclass of Joiner that overrides this method to tolerate null inputs.
         *
         * Unfortunately, we don't distinguish between these two cases in our public API: Joiner.on(...)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 15:16:19 GMT 2025
    - 21K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/response-model.md

    Y las herramientas también estarán felices porque tanto `RedirectResponse` como `JSONResponse` son subclases de `Response`, por lo que la anotación del tipo es correcta.
    
    ### Anotar una Subclase de Response { #annotate-a-response-subclass }
    
    También puedes usar una subclase de `Response` en la anotación del tipo:
    
    {* ../../docs_src/response_model/tutorial003_03_py310.py hl[8:9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableMap.java

       * Returns a serializable form of this object. Non-public subclasses should not override this
       * method. Publicly-accessible subclasses must override this method and should return a subclass
       * of SerializedForm whose readResolve() method returns objects of the subclass type.
       */
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return new SerializedForm<>(this);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 44.7K bytes
    - Click Count (0)
  6. docs/fr/docs/tutorial/response-model.md

    Et les outils seront également satisfaits car `RedirectResponse` et `JSONResponse` sont des sous-classes de `Response`, donc l'annotation de type est correcte.
    
    ### Annoter une sous-classe de Response { #annotate-a-response-subclass }
    
    Vous pouvez aussi utiliser une sous-classe de `Response` dans l'annotation de type :
    
    {* ../../docs_src/response_model/tutorial003_03_py310.py hl[8:9] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 18.1K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

           * more information, see the comments in that class.
           *
           * We already know that that's how it behaves, and subclasses of Converter can't change that
           * behavior. So there's no sense in making all subclass authors exclude the method from any
           * NullPointerTester tests that they have.
           */
          ignoredMembers.add(Converter.class.getMethod("apply", Object.class));
        } catch (NoSuchMethodException shouldBeImpossible) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

            final List<Map<String, Object>> result = chatClient.testSearchWithQuery("nonexistent");
            assertTrue(result.isEmpty());
        }
    
        // ========== Testable subclass ==========
    
        static class TestableChatClient extends ChatClient {
    
            private boolean searchDocumentsCalled = false;
            private final List<String> searchedQueries = new ArrayList<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/CoordinatorHelperTest.java

                    + "\"instanceId\":\"node1@host1\",\"status\":\"running\"," + "\"expiredTime\":" + (now + 3600000L) + "}}";
            final CurlResponse mockResponse = createMockResponse(200, opJson);
    
            // Use a subclass to mock both CurlHelper access and getActiveInstances
            final CoordinatorHelper helper = new CoordinatorHelper() {
                @Override
                public List<InstanceInfo> getActiveInstances() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 58.6K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/Iterables.java

        }
    
        @Override
        public void forEach(Consumer<? super T> action) {
          iterable.forEach(action);
        }
    
        @SuppressWarnings("unchecked") // safe upcast, assuming no one has a crazy Spliterator subclass
        @Override
        public Spliterator<T> spliterator() {
          return (Spliterator<T>) iterable.spliterator();
        }
    
        @Override
        public String toString() {
          return iterable.toString();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 43.6K bytes
    - Click Count (0)
Back to Top