By adding a wrapper class, you have broken subtype polymorphism.
通过添加包装程序类,您打破了子类型的多态性。
The traditional object-oriented solution to problems of this sort is to leverage subtype polymorphism - that is, inheritance.
针对这类问题的传统的面向对象的解决方案是利用子类型多态性—也就是说,继承。
Type polymorphism and polymorphism in object-oriented programming: Read Wikipedia's articles about polymorphism, including subtype polymorphism.
类型多态性和面向对象编程的多态性:阅读有关多态性的Wikipedia文章,包括子类型多态性。
Objective To explore the relationship between (GT)n dinucleotide repeated polymorphism of the brain-derived neurotrophic factor (BDNF) gene and onset of negative subtype schizophrenia in Chinese.
目的探讨汉族人群中脑源性神经营养因子(BDNF)基因(GT)n二核苷酸重复多态与精神分裂症阴性亚型发病之间的关系。
Conclusions The splicing mutation of COL7A1 gene is the underlying cause of and specific rather than common polymorphism for the family with dystrophic epidermolysis bullosa pruriginosa subtype.
结论COL7A1基因剪接位点的突变是引起该家系临床症状的特异突变,而非多态性改变。
Conclusions The splicing mutation of COL7A1 gene is the underlying cause of and specific rather than common polymorphism for the family with dystrophic epidermolysis bullosa pruriginosa subtype.
结论COL7A1基因剪接位点的突变是引起该家系临床症状的特异突变,而非多态性改变。
应用推荐