Java - Replacing if/else with HashMap - Optimized Approach

后端 未结 0 1284
我寻月下人不归
我寻月下人不归 2020-12-07 19:38

I have a class with almost 500 if/else, and in each if statement, I am checking contains some string if it is positive then I will set some values in a model object. Now I a

相关标签:
回答
  • 消灭零回复
提交回复
热议问题