- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for TypeToInstanceMap (0.13 sec)
-
android/guava/src/com/google/common/reflect/TypeToInstanceMap.java
* @author Ben Yu * @since 13.0 */ @DoNotMock("Use ImmutableTypeToInstanceMap or MutableTypeToInstanceMap") @ElementTypesAreNonnullByDefault public interface TypeToInstanceMap<B extends @Nullable Object> extends Map<TypeToken<? extends @NonNull B>, B> { /** * Returns the value the specified class is mapped to, or {@code null} if no entry for this class
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
* @author Ben Yu * @since 13.0 */ @DoNotMock("Use ImmutableTypeToInstanceMap or MutableTypeToInstanceMap") @ElementTypesAreNonnullByDefault public interface TypeToInstanceMap<B extends @Nullable Object> extends Map<TypeToken<? extends @NonNull B>, B> { /** * Returns the value the specified class is mapped to, or {@code null} if no entry for this class
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Apr 22 01:15:23 UTC 2023 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ClassToInstanceMap.java
* * <ul> * <li>{@link ImmutableClassToInstanceMap} * <li>{@link MutableClassToInstanceMap} * </ul> * * <p>To map a generic type to an instance of that type, use {@link * com.google.common.reflect.TypeToInstanceMap} instead. * * <p>See the Guava User Guide article on <a href= * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#classtoinstancemap">{@code * ClassToInstanceMap}</a>. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 3K bytes - Viewed (0) -
guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
* @author Ben Yu * @since 13.0 */ @ElementTypesAreNonnullByDefault public final class MutableTypeToInstanceMap<B extends @Nullable Object> extends ForwardingMap<TypeToken<? extends @NonNull B>, B> implements TypeToInstanceMap<B> { private final Map<TypeToken<? extends @NonNull B>, B> backingMap = Maps.newHashMap(); @Override @CheckForNull public <T extends @NonNull B> T getInstance(Class<T> type) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 17:55:55 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
* @author Ben Yu * @since 13.0 */ @ElementTypesAreNonnullByDefault public final class MutableTypeToInstanceMap<B extends @Nullable Object> extends ForwardingMap<TypeToken<? extends @NonNull B>, B> implements TypeToInstanceMap<B> { private final Map<TypeToken<? extends @NonNull B>, B> backingMap = Maps.newHashMap(); @Override @CheckForNull public <T extends @NonNull B> T getInstance(Class<T> type) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 17:55:55 UTC 2024 - 5.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
CollectionSize.ANY, MapFeature.ALLOWS_ANY_NULL_QUERIES) .createTestSuite()); return suite; } private TypeToInstanceMap<Object> map; @Override protected void setUp() throws Exception { map = new MutableTypeToInstanceMap<>(); } public void testPutThrows() { assertThrows(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 7.9K bytes - Viewed (0)