I have an Enum class with a huge amount of values (translation keys to use with the database), but in my case I would only need to iterate over values of it which start for example with characters "c_foo_"
What would be the most cost efficient way to do this?
I'm using Java 14.