I have a large number of Enums that implement this interface:
/** * Interface for an enumeration, each element of which can be uniquely identified by its co
In your specific case, the getCode() / getByCode(String code) methods seems very closed (euphemistically speaking) to the behaviour of the toString() / valueOf(String value) methods provided by all enumeration. Why don't you want to use them?