How can I get the name of a Java Enum type given its value?
I have the following code which works for a particular Enum type, can I make it more
Try, the following code..
@Override public String toString() { return this.name(); }