I have a big enum with more than 4000 values. I can not code because the code is too long and also I don't feel that is the best way to do it.
I need enum class for example Animals. And all the animals should be read from a file. How can I do it in a nice way? I can use plain Java or Spring.
Thanks