Does Java not support Covariant Return Types on Enums?

后端 未结 0 1492
-上瘾入骨i
-上瘾入骨i 2020-12-16 21:35

I am trying to implement a factory pattern where users can choose from a defined set of options. To make it easy to store in the database I made the options an enum. Now in

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