- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for ImmutableTypeToInstanceMap (0.17 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java
* * @author Ben Yu * @since 13.0 */ public final class ImmutableTypeToInstanceMap<B> extends ForwardingMap<TypeToken<? extends B>, B> implements TypeToInstanceMap<B> { /** Returns an empty type to instance map. */ public static <B> ImmutableTypeToInstanceMap<B> of() { return new ImmutableTypeToInstanceMap<>(ImmutableMap.<TypeToken<? extends B>, B>of()); } /** Returns a new builder. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 5.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java
return suite; } public void testEmpty() { assertEquals(0, ImmutableTypeToInstanceMap.of().size()); } public void testPrimitiveAndWrapper() { ImmutableTypeToInstanceMap<Number> map = ImmutableTypeToInstanceMap.<Number>builder() .put(Integer.class, 0) .put(int.class, 1) .build(); assertEquals(2, map.size());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 6.9K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/TypeToInstanceMap.java
* * @param <B> the common supertype that all entries must share; often this is simply {@link Object} * @author Ben Yu * @since 13.0 */ @DoNotMock("Use ImmutableTypeToInstanceMap or MutableTypeToInstanceMap") public interface TypeToInstanceMap<B extends @Nullable Object> extends Map<TypeToken<? extends @NonNull B>, B> { /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 3.7K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
import java.util.Iterator; import java.util.Map; import java.util.Set; import org.jspecify.annotations.NonNull; import org.jspecify.annotations.Nullable; /** * A mutable type-to-instance map. See also {@link ImmutableTypeToInstanceMap}. * * @author Ben Yu * @since 13.0 */ public final class MutableTypeToInstanceMap<B extends @Nullable Object> extends ForwardingMap<TypeToken<? extends @NonNull B>, B> implements TypeToInstanceMap<B> {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 5.7K bytes - Click Count (0)