- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 for supertypeOf (0.12 sec)
-
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertEquals( TypeToken.of(Object.class), TypeToken.of(Types.supertypeOf(String.class)).getGenericSuperclass()); assertEquals( new TypeToken<Object>() {}, TypeToken.of(Types.supertypeOf(String[].class)).getGenericSuperclass()); assertEquals( new TypeToken<Object>() {}, TypeToken.of(Types.supertypeOf(CharSequence.class)).getGenericSuperclass()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypesTest.java
assertEquals(Types.subtypeOf(Number[].class), Types.newArrayType(wildcard)); } public void testNewArrayType_lowerBoundedWildcard() { Type wildcard = Types.supertypeOf(Number.class); assertEquals(Types.supertypeOf(Number[].class), Types.newArrayType(wildcard)); } public void testNewArrayType_serializable() { SerializableTester.reserializeAndAssert(Types.newArrayType(int[].class)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:41:27 UTC 2024 - 15.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypesTest.java
assertEquals(Types.subtypeOf(Number[].class), Types.newArrayType(wildcard)); } public void testNewArrayType_lowerBoundedWildcard() { Type wildcard = Types.supertypeOf(Number.class); assertEquals(Types.supertypeOf(Number[].class), Types.newArrayType(wildcard)); } public void testNewArrayType_serializable() { SerializableTester.reserializeAndAssert(Types.newArrayType(int[].class)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:41:27 UTC 2024 - 15.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertEquals( TypeToken.of(Object.class), TypeToken.of(Types.supertypeOf(String.class)).getGenericSuperclass()); assertEquals( new TypeToken<Object>() {}, TypeToken.of(Types.supertypeOf(String[].class)).getGenericSuperclass()); assertEquals( new TypeToken<Object>() {}, TypeToken.of(Types.supertypeOf(CharSequence.class)).getGenericSuperclass()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
Type[] lowerBounds = wildcard.getLowerBounds(); checkArgument(lowerBounds.length <= 1, "Wildcard cannot have more than one lower bounds."); if (lowerBounds.length == 1) { return supertypeOf(newArrayType(lowerBounds[0])); } else { Type[] upperBounds = wildcard.getUpperBounds(); checkArgument(upperBounds.length == 1, "Wildcard should have only one upper bound.");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 23K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeResolverTest.java
.where( new TypeCapture<List<T>>() {}.capture(), new TypeCapture<List<? extends String>>() {}.capture()) .resolveType(t)); assertEquals( Types.supertypeOf(String.class), new TypeResolver() .where( new TypeCapture<List<T>>() {}.capture(), new TypeCapture<List<? super String>>() {}.capture()) .resolveType(t));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 9.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java
.where( new TypeCapture<List<T>>() {}.capture(), new TypeCapture<List<? extends String>>() {}.capture()) .resolveType(t)); assertEquals( Types.supertypeOf(String.class), new TypeResolver() .where( new TypeCapture<List<T>>() {}.capture(), new TypeCapture<List<? super String>>() {}.capture()) .resolveType(t));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Sep 06 17:04:31 UTC 2023 - 9.7K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy
PropertyDoc propertyDocA = propertyDoc('a') PropertyDoc propertyDocC = propertyDoc('c') ClassDoc superType1 = classDoc("org.gradle.SuperType1") ClassDoc superType2 = classDoc("org.gradle.SuperType2") def content = parse(''' <section> <section><title>Properties</title> <table> <thead><tr><td>Name</td></tr></thead>
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 7.6K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy
MethodDoc methodD = methodDoc('d') MethodDoc methodE = methodDoc('e') ClassDoc superClass = classDoc('org.gradle.SuperClass') ClassDoc superType1 = classDoc("org.gradle.SuperType1") ClassDoc superType2 = classDoc("org.gradle.SuperType2") def content = parse(''' <section> <section><title>Methods</title> <table> <thead><tr><td>Name</td></tr></thead>
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 8.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java
Map<String, PropertyDoc> props = new TreeMap<String, PropertyDoc>(); List<ClassDoc> superTypes = classDoc.getSuperTypes(); for (ClassDoc superType : superTypes) { LOG.info("Getting properties for {}", superType.getName()); for (PropertyDoc propertyDoc : superType.getClassProperties()) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6.2K bytes - Viewed (0)