Java getting the Enum name given the Enum Value

You should replace your getEnumNameForValue by a call to the name() method.

Leave a Comment