- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for supertypeOf (0.9 sec)
-
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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 9.8K 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 Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 9.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ClassToInstanceMap.java
*/ <T extends @NonNull B> @Nullable T getInstance(Class<T> type); /** * Maps the specified class to the specified value. Does <i>not</i> associate this value with any * of the class's supertypes. * * @return the value previously associated with this class (possibly {@code null}), or {@code * null} if there was no previous entry. */ @CanIgnoreReturnValue
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.9K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeToInstanceMap.java
*/ <T extends @NonNull B> @Nullable T getInstance(TypeToken<T> type); /** * Maps the specified class to the specified value. Does <i>not</i> associate this value with any * of the class's supertypes. * * <p>{@code putInstance(Foo.class, foo)} is equivalent to {@code * putInstance(TypeToken.of(Foo.class), foo)}. * * @return the value previously associated with this class (possibly {@code null}), or {@code
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToInstanceMap.java
*/ <T extends @NonNull B> @Nullable T getInstance(TypeToken<T> type); /** * Maps the specified class to the specified value. Does <i>not</i> associate this value with any * of the class's supertypes. * * <p>{@code putInstance(Foo.class, foo)} is equivalent to {@code * putInstance(TypeToken.of(Foo.class), foo)}. * * @return the value previously associated with this class (possibly {@code null}), or {@code
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/ListenableFutureTest.java
.asList() .containsExactly( ListenableFuture.class.getMethod("addListener", Runnable.class, Executor.class)); assertWithMessage( "Do not add new supertypes to ListenableFuture. Its API needs to continue to match the" + " version we released in a separate artifact com.google.guava:listenablefuture.") .that(ListenableFuture.class.getInterfaces())
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/GraphsBridgeMethods.java
package com.google.common.graph; import com.google.common.annotations.Beta; import java.util.Set; /** * Supertype for {@link Graphs}, containing the old signatures of methods whose signatures we've * changed. This provides binary compatibility for users who compiled against the old signatures. */ @Beta abstract class GraphsBridgeMethods { @SuppressWarnings("PreferredInterfaceType")Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 674 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
assertWithMessage("%s is subtype of %s", paramType, returnType) .that(TypeToken.of(paramType).isSubtypeOf(returnType)) .isTrue(); assertWithMessage("%s is supertype of %s", returnType, paramType) .that(TypeToken.of(returnType).isSupertypeOf(paramType)) .isTrue(); if (!spec.suppressGetSubtype()) {
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/src/com/google/common/graph/GraphsBridgeMethods.java
package com.google.common.graph; import com.google.common.annotations.Beta; import java.util.Set; /** * Supertype for {@link Graphs}, containing the old signatures of methods whose signatures we've * changed. This provides binary compatibility for users who compiled against the old signatures. */ @Beta abstract class GraphsBridgeMethods { @SuppressWarnings("PreferredInterfaceType")Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 674 bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredSetMultimap.java
* limitations under the License. */ package com.google.common.collect; import com.google.common.annotations.GwtCompatible; import org.jspecify.annotations.Nullable; /** * A supertype for filtered {@link SetMultimap} implementations. * * @author Louis Wasserman */ @GwtCompatible interface FilteredSetMultimap<K extends @Nullable Object, V extends @Nullable Object>Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 1K bytes - Viewed (0)