EnumMapByName<K extends Enum, V> extension

Serialization of Map<Enum, V> interface Methods on loose contraints Map<Enum, V> Enum.name base methods are applicable regardless of EnumMap FixedMap constraints add fills existing Map only

on

Properties

namedValues Iterable<(String, V)>

Available on Map<K, V>, provided by the EnumMapByName extension

no setter

Methods

addMapByName(Map<String, V> map) → void

Available on Map<K, V>, provided by the EnumMapByName extension

toJson() Map<String, V>

Available on Map<K, V>, provided by the EnumMapByName extension

toMapByName() Map<String, V>

Available on Map<K, V>, provided by the EnumMapByName extension