Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for subtypes (0.09 sec)

  1. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

     * annotated by {@link TestSubtype}.
     *
     * <p>These declaration methods rely on Java static type checking to make sure what we want to
     * assert as subtypes are really subtypes according to javac. For example:
     *
     * <pre>{@code
     * class MySubtypeTests extends SubtypeTester {
     *   @TestSubtype(suppressGetSubtype = true, suppressGetSupertype = true)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/AbstractHasher.java

    import java.nio.ByteBuffer;
    import java.nio.charset.Charset;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An abstract implementation of {@link Hasher}, which only requires subtypes to implement {@link
     * #putByte}. Subtypes may provide more efficient implementations, however.
     *
     * @author Dimitris Andreou
     */
    @ElementTypesAreNonnullByDefault
    abstract class AbstractHasher implements Hasher {
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/SubtypeTester.java

     * annotated by {@link TestSubtype}.
     *
     * <p>These declaration methods rely on Java static type checking to make sure what we want to
     * assert as subtypes are really subtypes according to javac. For example:
     *
     * <pre>{@code
     * class MySubtypeTests extends SubtypeTester {
     *   @TestSubtype(suppressGetSubtype = true, suppressGetSupertype = true)
    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. guava/src/com/google/common/hash/AbstractHasher.java

    import java.nio.ByteBuffer;
    import java.nio.charset.Charset;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An abstract implementation of {@link Hasher}, which only requires subtypes to implement {@link
     * #putByte}. Subtypes may provide more efficient implementations, however.
     *
     * @author Dimitris Andreou
     */
    @ElementTypesAreNonnullByDefault
    abstract class AbstractHasher implements Hasher {
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractCatchingFuture.java

          return resultString + superString;
        }
        return null;
      }
    
      /** Template method for subtypes to actually run the fallback. */
      @ForOverride
      @ParametricNullness
      abstract T doFallback(F fallback, X throwable) throws Exception;
    
      /** Template method for subtypes to actually set the result. */
      @ForOverride
      abstract void setResult(@ParametricNullness T result);
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/package-info.java

     *   <dd>A new type, which is similar to {@link java.util.Map}, but may contain multiple entries
     *       with the same key. Some behaviors of {@link Multimap} are left unspecified and are provided
     *       only by the subtypes mentioned below.
     *   <dt>{@link ListMultimap}
     *   <dd>An extension of {@link Multimap} which permits duplicate entries, supports random access of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 06 16:29:45 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/package-info.java

     *   <dd>A new type, which is similar to {@link java.util.Map}, but may contain multiple entries
     *       with the same key. Some behaviors of {@link Multimap} are left unspecified and are provided
     *       only by the subtypes mentioned below.
     *   <dt>{@link ListMultimap}
     *   <dd>An extension of {@link Multimap} which permits duplicate entries, supports random access of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 06 16:29:45 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/body-nested-models.md

    ```
    
    ////
    
    The string will be checked to be a valid URL, and documented in JSON Schema / OpenAPI as such.
    
    ## Attributes with lists of submodels
    
    You can also use Pydantic models as subtypes of `list`, `set`, etc.:
    
    //// tab | Python 3.10+
    
    ```Python hl_lines="18"
    {!> ../../docs_src/body_nested_models/tutorial006_py310.py!}
    ```
    
    ////
    
    //// tab | Python 3.9+
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypeResolverTest.java

        Type subtype = new TypeCapture<TypedKeyMap<T>>() {}.capture();
        assertEquals(
            new TypeCapture<TypedKeyMap<String>>() {}.capture(),
            new TypeResolver()
                .where(
                    new TypeCapture<Map<Integer, T>>() {}.capture(),
                    new TypeCapture<Map<?, String>>() {}.capture())
                .resolveType(subtype));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java

        Type subtype = new TypeCapture<TypedKeyMap<T>>() {}.capture();
        assertEquals(
            new TypeCapture<TypedKeyMap<String>>() {}.capture(),
            new TypeResolver()
                .where(
                    new TypeCapture<Map<Integer, T>>() {}.capture(),
                    new TypeCapture<Map<?, String>>() {}.capture())
                .resolveType(subtype));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top