- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for Supertype (0.15 sec)
-
guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
TypeToken<?> supertype = new TypeToken<Mall<Outdoor>.Shop<Electronics>>() {}; Class<?> subclass = new Mall<Outdoor>().new Shop<Grocery>() {}.getClass(); assertFalse(TypeToken.of(subclass).isSubtypeOf(supertype)); } @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports public static void testSubtypeOfInnerClass_staticAnonymousClass() {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 20.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
TypeToken<?> supertype = new TypeToken<Mall<Outdoor>.Shop<Electronics>>() {}; Class<?> subclass = new Mall<Outdoor>().new Shop<Grocery>() {}.getClass(); assertFalse(TypeToken.of(subclass).isSubtypeOf(supertype)); } @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports public static void testSubtypeOfInnerClass_staticAnonymousClass() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 20.3K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt
if (!visited.add(superTypeName)) continue val superType = typeForInternalName(superTypeName) ?: continue if (superType.delegate.methods.any(matchesMethodNode)) return false superTypeStack.addSuperTypesOf(superType.delegate) } return true } private
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Tue Feb 06 19:56:10 GMT 2024 - 20.8K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
} private static ImmutableList<Method> getAnnotatedMethodsNotCached(Class<?> clazz) { Set<? extends Class<?>> supertypes = TypeToken.of(clazz).getTypes().rawTypes(); Map<MethodIdentifier, Method> identifiers = Maps.newHashMap(); for (Class<?> supertype : supertypes) { for (Method method : supertype.getDeclaredMethods()) { if (method.isAnnotationPresent(Subscribe.class) && !method.isSynthetic()) {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Apr 22 13:05:46 GMT 2021 - 10.5K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt
while (queue.isNotEmpty()) { val (typeParameterOwner, mapping) = queue.removeFirst() for (superType in typeParameterOwner.typeConstructor.supertypes) { val mappingForSupertype = superType.toTypeArgumentMapping(mapping) ?: continue queue.addLast(mappingForSupertype) }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Jan 29 09:37:59 GMT 2024 - 23.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Optional.java
* object. * * <p><b>Comparison to {@code java.util.Optional} (JDK 8 and higher):</b> A new {@code Optional} * class was added for Java 8. The two classes are extremely similar, but incompatible (they cannot * share a common supertype). <i>All</i> known differences are listed either here or with the * relevant methods below. * * <ul> * <li>This class is serializable; {@code java.util.Optional} is not.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 14.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
* object. * * <p><b>Comparison to {@code java.util.Optional} (JDK 8 and higher):</b> A new {@code Optional} * class was added for Java 8. The two classes are extremely similar, but incompatible (they cannot * share a common supertype). <i>All</i> known differences are listed either here or with the * relevant methods below. * * <ul> * <li>This class is serializable; {@code java.util.Optional} is not.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 13K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/EventBusTest.java
assertEquals("Correct string should be delivered.", EVENT, events.get(0)); } /** * Tests that events are distributed to any subscribers to their type or any supertype, including * interfaces and superclasses. * * <p>Also checks delivery ordering in such cases. */ public void testPolymorphicDistribution() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
assertEquals("Correct string should be delivered.", EVENT, events.get(0)); } /** * Tests that events are distributed to any subscribers to their type or any supertype, including * interfaces and superclasses. * * <p>Also checks delivery ordering in such cases. */ public void testPolymorphicDistribution() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
* advantage of that for convertAll, as discussed on that method.) * * 2. The supertype of this class could be `Function<@Nullable A, @Nullable B>`, since * Converter.apply (like Converter.convert) is capable of accepting null inputs. However, a * supertype of `Function<A, B>` turns out to be massively more useful to callers in practice: They
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 23K bytes - Viewed (0)