I just started making my own class PowerSwitch{} for fun- please tell me if i am thinking in the right direction. (its just in the planning phase)
this will take strings, convert them to lowercase and use them as keys in a map. these keys will be mapped to int objects which will be used in the switch of this class.
Any suggestions , ideas etc welcome.
PS : i was wondering if i should leave this since others are already doing it and...well there is
scjp