- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 63 for isSubtype (0.08 sec)
-
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} ParameterizedType subtype = (ParameterizedType) new TypeToken<BaseWithTypeVar<List<?>>>() {}.getSubtype(Outer.Sub.class).getType(); assertEquals(Outer.Sub.class, subtype.getRawType()); assertThat(subtype.getActualTypeArguments()[0]).isInstanceOf(WildcardType.class); ParameterizedType owner = (ParameterizedType) subtype.getOwnerType();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
internal/event/config.go
return e.EncodeElement(filterRuleWrapper(filter), start) } // UnmarshalXML - decodes XML data. func (filter *FilterRule) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error { // Make subtype to avoid recursive UnmarshalXML(). type filterRule FilterRule rule := filterRule{} if err := d.DecodeElement(&rule, &start); err != nil { return err } if rule.Name != "prefix" && rule.Name != "suffix" {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Nov 16 17:28:29 UTC 2021 - 8.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/net/MediaTypeTest.java
assertEquals("application", newType.type()); assertEquals("yams", newType.subtype()); } public void testCreateAudioType() { MediaType newType = MediaType.createAudioType("yams"); assertEquals("audio", newType.type()); assertEquals("yams", newType.subtype()); } public void testCreateFontType() { MediaType newType = MediaType.createFontType("yams");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 15:41:36 UTC 2024 - 20.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt
*/ internal fun String.commonToMediaType(): MediaType { val typeSubtype: MatchResult = TYPE_SUBTYPE.matchAtPolyfill(this, 0) ?: throw IllegalArgumentException("No subtype found for: \"$this\"") val type = typeSubtype.groupValues[1].lowercase() val subtype = typeSubtype.groupValues[2].lowercase() val parameterNamesAndValues = mutableListOf<String>() var s = typeSubtype.range.last + 1 while (s < length) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.1K bytes - Viewed (0) -
internal/s3select/json/args.go
func (args *ReaderArgs) IsEmpty() bool { return !args.unmarshaled } // UnmarshalXML - decodes XML data. func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error { // Make subtype to avoid recursive UnmarshalXML(). type subReaderArgs ReaderArgs parsedArgs := subReaderArgs{} if err := d.DecodeElement(&parsedArgs, &start); err != nil { return err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToInstanceMap.java
* Returns the value the specified class is mapped to, or {@code null} if no entry for this class * is present. This will only return a value that was bound to this specific class, not a value * that may have been bound to a subtype. * * <p>{@code getInstance(Foo.class)} is equivalent to {@code * getInstance(TypeToken.of(Foo.class))}. */ @CheckForNull <T extends @NonNull B> T getInstance(Class<T> type); /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Apr 22 01:15:23 UTC 2023 - 3.8K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeToInstanceMap.java
* Returns the value the specified class is mapped to, or {@code null} if no entry for this class * is present. This will only return a value that was bound to this specific class, not a value * that may have been bound to a subtype. * * <p>{@code getInstance(Foo.class)} is equivalent to {@code * getInstance(TypeToken.of(Foo.class))}. */ @CheckForNull <T extends @NonNull B> T getInstance(Class<T> type); /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Apr 22 01:15:23 UTC 2023 - 3.8K bytes - Viewed (0) -
internal/bucket/replication/rule.go
return errInvalidDeleteReplicationStatus } return nil } // UnmarshalXML - decodes XML data. func (d *DeleteReplication) UnmarshalXML(dec *xml.Decoder, start xml.StartElement) (err error) { // Make subtype to avoid recursive UnmarshalXML(). type deleteReplication DeleteReplication drep := deleteReplication{} if err := dec.DecodeElement(&drep, &start); err != nil { return err } if len(drep.Status) == 0 {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 24 23:22:20 UTC 2022 - 8.3K bytes - Viewed (0) -
internal/s3select/parquet/args.go
func (args *ReaderArgs) IsEmpty() bool { return !args.unmarshaled } // UnmarshalXML - decodes XML data. func (args *ReaderArgs) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error { // Make subtype to avoid recursive UnmarshalXML(). type subReaderArgs ReaderArgs parsedArgs := subReaderArgs{} if err := d.DecodeElement(&parsedArgs, &start); err != nil { return err } args.unmarshaled = true return nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 01 21:59:40 UTC 2021 - 1.4K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
listener.onClosed(this) } } } private fun ResponseBody.isEventStream(): Boolean { val contentType = contentType() ?: return false return contentType.type == "text" && contentType.subtype == "event-stream" } override fun onFailure( call: Call, e: IOException, ) { listener.onFailure(this, e, null) } override fun request(): Request = request
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.2K bytes - Viewed (0)