/guava/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
T value = entry.getValue( ) ; Class<? extends T> type = entry.getKey( ) ;for ( Entry<? extends Class<? extends T>, ? extends T> entry : map.entrySet( ) ) {
for ( Entry<? extends Class<? extends T>, ? extends T> entry : map.entrySet ( ) ) { Class<? extends T> type = entry.getKey ( ) ; T value = entry.getValue ( ) ;
public <T extends B> Builder<B> put(Class<T> key, T value) { mapBuilder.put(key, value); return this; } @CanIgnoreReturnValue public <T extends B> Builder<B> putAll(Map<? extends Class<? extends T>, ? extends T> map) { <extra_id_0> mapBuilder.put(type, cast(type, value)); } return this; } private static <T> T cast(Class<T> type, Object value) { return Primitives.wrap(type).cast(value);