摘要:
转自:https://my.oschina.net/stefanzhlg/blog/372413 我们在平时的编码中,我们经常会遇到这样的情况: 使用过多的switch/case 或者 if else 语句,非常不爽,也违背了面向对象的原则: public static Validator newInstance(String validatorType) { ... 阅读全文
posted @ 2018-09-13 14:28
i迷倪
阅读(3619)
评论(0)
推荐(2)

浙公网安备 33010602011771号