-
Notifications
You must be signed in to change notification settings - Fork 785
2019-09-09:请谈谈策略模式原理及其应用场景? #143
New issue
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
Labels
Comments
策略模式的应用范围 1 目前自己知道的策略模式在jdk中的应用有比较器Comparator和布局管理器LayoutManager 2 springmvc 中的处理器映射器 3 在spring中也有用到,通过注解@resource就是使用该模式,注入哪个就使用哪个。 |
我不知道啊 |
看了楼上哥们的解释,感觉策略模式就是代理…… |
1.定义
Android 源码中例子:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: