Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 107 for Subclass (0.17 sec)

  1. guava/src/com/google/common/collect/HashMultimapGwtSerializationDependencies.java

     *
     * <p>For details about this hack, see {@code GwtSerializationDependencies}, which takes the same
     * approach but with a subclass rather than a superclass.
     *
     * <p>TODO(cpovirk): Consider applying this subclass approach to our other types.
     */
    @GwtCompatible(emulated = true)
    abstract class HashMultimapGwtSerializationDependencies<K, V> extends AbstractSetMultimap<K, V> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 24 18:57:48 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ArrayListMultimapGwtSerializationDependencies.java

     *
     * <p>For details about this hack, see {@code GwtSerializationDependencies}, which takes the same
     * approach but with a subclass rather than a superclass.
     *
     * <p>TODO(cpovirk): Consider applying this subclass approach to our other types.
     */
    @GwtCompatible(emulated = true)
    abstract class ArrayListMultimapGwtSerializationDependencies<K, V>
        extends AbstractListMultimap<K, V> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 24 18:57:48 UTC 2019
    - 1.5K bytes
    - Viewed (0)
  3. 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;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. 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;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

     * subclasses. Without such overrides, optimizers might put a {@code writeReplace}-containing class
     * and its subclass in different packages, causing the serialization system to fail to invoke {@code
     * writeReplace} when serializing an instance of the subclass. For an example of this problem, see
     * b/310253115.
     */
    public class WriteReplaceOverridesTest extends TestCase {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/LinkedHashMultimapGwtSerializationDependencies.java

     *
     * <p>For details about this hack, see {@code GwtSerializationDependencies}, which takes the same
     * approach but with a subclass rather than a superclass.
     *
     * <p>TODO(cpovirk): Consider applying this subclass approach to our other types.
     */
    @GwtCompatible(emulated = true)
    abstract class LinkedHashMultimapGwtSerializationDependencies<K, V>
        extends AbstractSetMultimap<K, V> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 24 18:57:48 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/RangeGwtSerializationDependencies.java

     *
     * <p>For details about this hack, see {@code GwtSerializationDependencies}, which takes the same
     * approach but with a subclass rather than a superclass.
     *
     * <p>TODO(cpovirk): Consider applying this subclass approach to our other types.
     */
    @SuppressWarnings("rawtypes") // https://github.com/google/guava/issues/989
    @GwtCompatible(emulated = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/response-model.md

    This simple case is handled automatically by FastAPI because the return type annotation is the class (or a subclass of) `Response`.
    
    And tools will also be happy because both `RedirectResponse` and `JSONResponse` are subclasses of `Response`, so the type annotation is correct.
    
    ### Annotate a Response Subclass
    
    You can also use a subclass of `Response` in the type annotation:
    
    ```Python hl_lines="8-9"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingObject.java

     * interface-specific subclass of {@code ForwardingObject}, such as {@link ForwardingList}, to
     * preserve equality behavior, or override {@code equals} directly.
     *
     * <p>The {@code toString} method is forwarded to the delegate. Although this class does not
     * implement {@link Serializable}, a serializable subclass may be created since this class has a
     * parameter-less constructor.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 3K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

                  public void remove() {
                    throw new IllegalStateException() {
                      /* subclass */
                    };
                  }
    
                  @Override
                  public Integer next() {
                    throw new NoSuchElementException() {
                      /* subclass */
                    };
                  }
    
                  @Override
                  public boolean hasNext() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top