- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for ImmutableClassToInstanceMap (0.63 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java
assertSame( ImmutableClassToInstanceMap.of(), SerializableTester.reserialize(ImmutableClassToInstanceMap.of())); } public void testCopyOf_map_empty() { Map<Class<?>, Object> in = emptyMap(); ClassToInstanceMap<Object> map = ImmutableClassToInstanceMap.copyOf(in); assertTrue(map.isEmpty()); assertSame(map, ImmutableClassToInstanceMap.of());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ClassToInstanceMap.java
* and a primitive type and its corresponding wrapper type may map to different values. * * <h3>Implementations</h3> * * <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. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java
import java.util.Set; import org.jspecify.annotations.NonNull; import org.jspecify.annotations.Nullable; /** * A mutable class-to-instance map backed by an arbitrary user-provided map. See also {@link * ImmutableClassToInstanceMap}. * * <p>See the Guava User Guide article on <a href= * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#classtoinstancemap">{@code * ClassToInstanceMap}</a>. * * @author Kevin BourrillionRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:10:29 UTC 2025 - 6.7K bytes - Viewed (0)