Gary Gregory wrote:
In EnumUtils we have:
public static Enum getEnum(Class enumClass, String name)
What I need to ask a List of Enum classes for an Enum:
public static Enum getEnum(List enumClassList, String name)
Is this too odd a case? Should I keep my utility method in my own code?

Sounds pretty odd to me. Each enum is intended to be a separate isolated unit, which share code because we're pre JDK1.5. It wasn't intended that there would be what amounts to groups of enum classes.

Stephen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to