- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for subtypeOf (0.18 sec)
-
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
assertEquals( Types.subtypeOf(Object.class), TypeToken.of(Types.subtypeOf(Object[].class)).getComponentType().getType()); assertEquals( Types.subtypeOf(Object[].class), Types.newArrayType( TypeToken.of(Types.subtypeOf(Object[].class)).getComponentType().getType())); assertEquals( int.class, TypeToken.of(Types.subtypeOf(int[].class)).getComponentType().getType());
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/TypeTokenTest.java
assertEquals( Types.subtypeOf(Object.class), TypeToken.of(Types.subtypeOf(Object[].class)).getComponentType().getType()); assertEquals( Types.subtypeOf(Object[].class), Types.newArrayType( TypeToken.of(Types.subtypeOf(Object[].class)).getComponentType().getType())); assertEquals( int.class, TypeToken.of(Types.subtypeOf(int[].class)).getComponentType().getType());
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
assertThrows(IllegalArgumentException.class, () -> Types.subtypeOf(int.class)); } public void testNewWildcardType_serializable() { SerializableTester.reserializeAndAssert(Types.supertypeOf(String.class)); SerializableTester.reserializeAndAssert(Types.subtypeOf(String.class)); SerializableTester.reserializeAndAssert(Types.subtypeOf(Object.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
assertThrows(IllegalArgumentException.class, () -> Types.subtypeOf(int.class)); } public void testNewWildcardType_serializable() { SerializableTester.reserializeAndAssert(Types.supertypeOf(String.class)); SerializableTester.reserializeAndAssert(Types.subtypeOf(String.class)); SerializableTester.reserializeAndAssert(Types.subtypeOf(Object.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/base/PredicatesTest.java
assertTrue(isComparable.apply(Integer.class)); assertTrue(isComparable.apply(Float.class)); } @J2ktIncompatible @GwtIncompatible // Predicates.subtypeOf public void testSubtypeOf_equality() { new EqualsTester() .addEqualityGroup(Predicates.subtypeOf(Integer.class)) .addEqualityGroup(Predicates.subtypeOf(Number.class))
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 32.4K bytes - Viewed (0) -
guava/src/com/google/common/reflect/Types.java
} else { Type[] upperBounds = wildcard.getUpperBounds(); checkArgument(upperBounds.length == 1, "Wildcard should have only one upper bound."); return subtypeOf(newArrayType(upperBounds[0])); } } return JavaVersion.CURRENT.newArrayType(componentType); } /** * Returns a type where {@code rawType} is parameterized by {@code arguments} and is owned by
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/TypeVisitorTest.java
new BaseTypeVisitor() { @Override void visitTypeVariable(TypeVariable<?> t) {} }.visit(type); } public void testVisitWildcardType() { WildcardType type = Types.subtypeOf(String.class); assertVisited(type); new BaseTypeVisitor() { @Override void visitWildcardType(WildcardType t) {} }.visit(type); } public <T> void testVisitGenericArrayType() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.7K bytes - Viewed (0) -
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) -
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) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy
_ * classDoc.classBlocks >> [] _ * classDoc.classExtensions >> [] def subtypes = [ "org.gradle.Subtype1", "org.gradle.Subtype2", "org.gradle.Subtype3", "org.gradle.Subtype4" ].collect { ClassDoc subtype = Mock() _ * subtype.name >> it subtype } _ * classDoc.subClasses >> subtypes when: def result = parse('<root/>') withCategories {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 40.8K bytes - Viewed (0)