|
|
1
4
这就是你想要的: Generic Factory Pattern
|
|
|
2
1
所以如果我没听错的话,你的课看起来有点像这样:
是什么阻止你像这样简单地宣布工厂。。。
... 然后生成这样的实例?
|