What\'s the easiest and/or shortest way possible to get the names of enum elements as an array of Strings?
String
What I mean by this is that if, for example,
the ordinary way (pun intended):
String[] myStringArray=new String[EMyEnum.values().length]; for(EMyEnum e:EMyEnum.values())myStringArray[e.ordinal()]=e.toString();