- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for subtype (1.54 sec)
-
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
/** Call this in a {@link TestSubtype} public method asserting subtype relationship. */ final <T> T isSubtype(T sub) { Type returnType = method.getGenericReturnType(); Type paramType = getOnlyParameterType(); TestSubtype spec = method.getAnnotation(TestSubtype.class); assertWithMessage("%s is subtype of %s", paramType, returnType) .that(TypeToken.of(paramType).isSubtypeOf(returnType))Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 25 23:29:58 UTC 2025 - 6.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/SubtypeTester.java
/** Call this in a {@link TestSubtype} public method asserting subtype relationship. */ final <T> T isSubtype(T sub) { Type returnType = method.getGenericReturnType(); Type paramType = getOnlyParameterType(); TestSubtype spec = method.getAnnotation(TestSubtype.class); assertWithMessage("%s is subtype of %s", paramType, returnType) .that(TypeToken.of(paramType).isSubtypeOf(returnType))Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Nov 25 23:29:58 UTC 2025 - 6.2K bytes - Viewed (0) -
docs/en/docs/tutorial/body-nested-models.md
With **FastAPI**, you can define, validate, document, and use arbitrarily deeply nested models (thanks to Pydantic). ## List fields { #list-fields } You can define an attribute to be a subtype. For example, a Python `list`: {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *} This will make `tags` be a list, although it doesn't declare the type of the elements of the list.
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 6.7K bytes - Viewed (0) -
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) -
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 returnedRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 163.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/sso/SsoManager.java
*/ protected SsoAuthenticator getAuthenticator() { String ssoType = getSsoType(); // Backward compatibility: map legacy "aad" (Azure AD) to "entraid" (Entra ID) if ("aad".equals(ssoType)) { ssoType = "entraid"; } final String name = ssoType + "Authenticator"; if (ComponentUtil.hasComponent(name)) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 5.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMultimap.java
* detailed at {@link ImmutableCollection}. * * <p><b>Warning:</b> avoid <i>direct</i> usage of {@link ImmutableMultimap} as a type (as with * {@link Multimap} itself). Prefer subtypes such as {@link ImmutableSetMultimap} or {@link * ImmutableListMultimap}, which have well-defined {@link #equals} semantics, thus avoiding a common * source of bugs and confusion. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 27.1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy
return methodParametersFromSignature(methodInSubClass) == methodParametersFromSignature(method) // Subclass can override method return type && methodInSubClass.returnType.subtypeOf(method.returnType) } /** * Returns method parameters from method signature, e.g. "(Ljava/lang/String;I)V" -> "(Ljava/lang/String;I)" */
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 24 14:15:15 UTC 2025 - 4.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
* detailed at {@link ImmutableCollection}. * * <p><b>Warning:</b> avoid <i>direct</i> usage of {@link ImmutableMultimap} as a type (as with * {@link Multimap} itself). Prefer subtypes such as {@link ImmutableSetMultimap} or {@link * ImmutableListMultimap}, which have well-defined {@link #equals} semantics, thus avoiding a common * source of bugs and confusion. *Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 28.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java
* @return the parsed sitemap set */ protected SitemapSet parseTextSitemaps(final InputStream in) { final SitemapSet sitemapSet = new SitemapSet(); sitemapSet.setType(SitemapSet.URLSET); try { final BufferedReader br = new BufferedReader(new InputStreamReader(in, Constants.UTF_8)); String line; while ((line = br.readLine()) != null) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 13:19:40 UTC 2025 - 34.9K bytes - Viewed (0)