public EnumMap (EnumMap<K, ? extends V> m)

Creates an enum map with the same key type as the specified enum map, initially containing the same mappings (if any).

Parameters:
m    the enum map from which to initialize this enum map

Exceptions:
NullPointerException    if m is null