I go off-topic here, but why exactly do you store Something that is accessed with an Enum in a Map?
Wouldn’t it be better to use a Switch on Enum?
I go off-topic here, but why exactly do you store Something that is accessed with an Enum in a Map?
Wouldn’t it be better to use a Switch on Enum?