How do you return an Enum from a setter/getter function?
Currently I have this:
public enum LowerCase { a, b, } public en
You're mixing two enumerations together which is not a good idea since it defeats the purpose of the enum type.
Definitely do not cast to int and do comparisons that way -- you lose the ability to change the order of your enumerated values in future versions.