/guava/guava/src/com/google/common/collect/Maps.java
} enumMap.put( key, value) ;checkEntryNotNull( key, value) ;
checkEntryNotNull ( key, value ) ; enumMap.put ( key, value ) ; }
checkEntryNotNull(key1, value1); EnumMap<K, V> enumMap = new EnumMap<>(singletonMap(key1, value1)); while (entryItr.hasNext()) { Entry<K, ? extends V> entry = entryItr.next(); K key = entry.getKey(); V value = entry.getValue(); <extra_id_0> return ImmutableEnumMap.asImmutable(enumMap); } @J2ktIncompatible public static <T extends @Nullable Object, K extends Enum<K>, V> Collector<T, ?, ImmutableMap<K, V>> toImmutableEnumMap( java.util.function.Function<? super T, ? extends K> keyFunction,