Setting an Enum value based on incoming String

前端 未结 4 937
慢半拍i
慢半拍i 2021-02-08 06:10

I have a number of setter methods which take an enum. These are based on incoming objects attribute. Rather than write a bunch of these is there a way around having to hard code

4条回答
提交回复
热议问题