public static <K extends Enum<K>, V> EnumMap<K, V> newEnumMap(Class<K> type) {
    return new EnumMap<>(checkNotNull(type));
  }
public static <K extends Enum<K>, V> EnumMap<K, V> newEnumMap(Class<K> type) {
    return new EnumMap<>(checkNotNull(type));
  }
public static < K extends Enum < K > , V > EnumMap < K , V > newEnumMap ( Class < K > type ) { return new EnumMap <> ( checkNotNull ( type ) ) ; }
Creates an {@code EnumMap} instance.

@param type the key type for this map
@return a new, empty {@code EnumMap}
Creates an { @code EnumMap } instance .