We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
抽象工厂模式中,一个工厂能创建一簇对象不是一类对象,见下面的UML图
拿原代码中的例子,plant工厂只能创造plant对象,Animal工厂只能创造Animal对象,不符合抽象工厂模式,只能算是工厂方法模式的嵌套,正确的的抽象工厂模式已提PR #20
The text was updated successfully, but these errors were encountered:
感谢,学习了~
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: