首页
沸点
课程
数据标注
HOT
AI Coding
更多
直播
活动
APP
插件
直播
活动
APP
插件
搜索历史
清空
创作者中心
写文章
发沸点
写笔记
写代码
草稿箱
创作灵感
查看更多
登录
注册
杰哥1123
掘友等级
java
加油
获得徽章 0
动态
文章
专栏
沸点
收藏集
关注
作品
赞
3
文章 3
沸点 0
赞
3
返回
|
搜索文章
最新
热门
java23种设计模式-行为型模式之策略模式(strategy)
Define a family of algorithms,encapsulate each one,and make them interchangeable. 定义一组算法,将每个算法都封装起来,并且使它们之间可以互换。 策略模式(Strategy Pattern) 也叫 …
java23种设计模式-行为型模式之模板方法模式
Define the skeleton of an algorithm in an operation,deferring some steps to subclasses.Template Method lets subclasses redefine certain ste…
java23种设计模式-行为型模式之观察者模式
观察者模式(Observer Pattern),又叫 发布-订阅(Publish/Subscribe)模式、模型-视图(Model/View)模式、源-监听器(Source/Listener)模式 或 从属者(Dependents)模式。 观察者模式 是对象的行为模式,定义了一…
java23种设计模式-行为型模式之迭代子模式
Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation. 提供一种顺序访问聚集/容器对象元素的…
java23种设计模式-行为型模式之责任链模式
Advoid coupling the sender of a reuest to its receiver by giving more than one object a chance to handle the request. Chain the receiving o…
java23种设计模式-行为型模式之命令模式
将来自客户端的请求传入一个对象,从而使你可用不同的请求对客户进行参数化。用于“行为请求者”与“行为实现者”解耦,可实现二者之间的松耦合,以便适应变化。分离变化与不变的因素。 1.降低对象之间的耦合度。 2.新的命令可以很容易地加入到系统中。 3.可以比较容易地设计一个组合命令。…
java23种设计模式-行为型模式之状态模式
Allow an object to alter its behavior when its internal state changes. The object will appear to change its class. 允许对象在内部状态发生改变时改变它的行为,对象看…
java23种设计模式-行为型模式之备忘录模式
Without violating encapsulation, capture and externalize an object's internal state so that the object can be restored to this state later.…
java23种设计模式-行为型模式之访问者模式
Represent an operation to be performed on the elements of an object structure. Visitor lets you define a new operation without changing the…
java23种设计模式-行为型模式之中介者模式
Define an object that encapsulates how a set of objects interact. Mediator promotes loose coupling by keeping objects from referring to eac…
下一页
个人成就
文章被点赞
9
文章被阅读
20,502
掘力值
372
关注了
5
关注者
3
收藏集
0
关注标签
2
加入于
2020-05-05