Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 82 for Subtypes (0.07 sec)

  1. android/guava/src/com/google/common/reflect/Types.java

          void visitClass(Class<?> t) {
            result.set(t.getComponentType());
          }
        }.visit(type);
        return result.get();
      }
    
      /**
       * Returns {@code ? extends X} if any of {@code bounds} is a subtype of {@code X[]}; or null
       * otherwise.
       */
      private static @Nullable Type subtypeOfComponentType(Type[] bounds) {
        for (Type bound : bounds) {
          Type componentType = getComponentType(bound);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/TypeResolver.java

              // subtyping between declared type bound and actual type bound. So it's possible that we
              // may generate something like <capture#1-of ? extends Foo&SubFoo>.
              // Checking subtype between declared and actual type bounds
              // adds recursive isSubtypeOf() call and feels complicated.
              // There is no contract one way or another as long as isSubtypeOf() works as expected.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 22:30:05 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Predicates.java

        return new InstanceOfPredicate<>(clazz);
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the class being tested is assignable to
       * (is a subtype of) {@code clazz}. Example:
       *
       * {@snippet :
       * List<Class<?>> classes = Arrays.asList(
       *     Object.class, String.class, Number.class, Long.class);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * @throws IllegalArgumentException if any two keys are equal according to their natural ordering
       */
      public static <K, V> ImmutableSortedMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        // Hack around K not being a subtype of Comparable.
        // Unsafe, see ImmutableSortedSetFauxverideShim.
        @SuppressWarnings("unchecked")
        Ordering<K> naturalOrder = (Ordering<K>) NATURAL_ORDER;
        return copyOfInternal(map, naturalOrder);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 52.9K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    * Add 4 Japanese articles to [External Links](https://fastapi.tiangolo.com/external-links/). PR [#783](https://github.com/tiangolo/fastapi/pull/783) by [@HymanZHAN](https://github.com/HymanZHAN).
    * Add support for subtypes of main types in `jsonable_encoder`, e.g. asyncpg's UUIDs. PR [#756](https://github.com/tiangolo/fastapi/pull/756) by [@RmStorm](https://github.com/RmStorm).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
  6. fastapi/routing.py

                                message["content-type"] = content_type_value
                                if message.get_content_maintype() == "application":
                                    subtype = message.get_content_subtype()
                                    if subtype == "json" or subtype.endswith("+json"):
                                        json_body = await request.json()
                            if json_body != Undefined:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 174.6K bytes
    - Viewed (0)
  7. okhttp/api/jvm/okhttp.api

    	public fun hashCode ()I
    	public final fun parameter (Ljava/lang/String;)Ljava/lang/String;
    	public static final fun parse (Ljava/lang/String;)Lokhttp3/MediaType;
    	public final fun subtype ()Ljava/lang/String;
    	public fun toString ()Ljava/lang/String;
    	public final fun type ()Ljava/lang/String;
    }
    
    public final class okhttp3/MediaType$Companion {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.2K bytes
    - Viewed (0)
  8. okhttp/api/android/okhttp.api

    	public fun hashCode ()I
    	public final fun parameter (Ljava/lang/String;)Ljava/lang/String;
    	public static final fun parse (Ljava/lang/String;)Lokhttp3/MediaType;
    	public final fun subtype ()Ljava/lang/String;
    	public fun toString ()Ljava/lang/String;
    	public final fun type ()Ljava/lang/String;
    }
    
    public final class okhttp3/MediaType$Companion {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 70.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Maps.java

       * V>} to a {@code NavigableMap<K, V>}. If it permitted this, the returned map's {@code
       * comparator()} method might return a {@code Comparator<? extends K>}, which works only on a
       * particular subtype of {@code K}, but promise that it's a {@code Comparator<? super K>}, which
       * must work on any type of {@code K}.
       *
       * @param map the navigable map for which an unmodifiable view is to be returned
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Maps.java

       * V>} to a {@code NavigableMap<K, V>}. If it permitted this, the returned map's {@code
       * comparator()} method might return a {@code Comparator<? extends K>}, which works only on a
       * particular subtype of {@code K}, but promise that it's a {@code Comparator<? super K>}, which
       * must work on any type of {@code K}.
       *
       * @param map the navigable map for which an unmodifiable view is to be returned
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
Back to top