Mr.Robot、
Mr.Robot、
全部文章
设计模式
开源框架(3)
未归档(16)
归档
标签
去牛客网
登录
/
注册
Mr.Robot、的博客
全部文章
/ 设计模式
(共2篇)
Java设计模式之Singleton Pattern
概述 单例设计模式 : 确保一个类只能有一个实例,并提供一个全局访问点来访问这个实例. (Singleton Pattern : Ensure a class has only one intance,and provide a global point of access to it. ). 单例...
2019-11-02
0
423
Java设计模式之Adapter模式
概述 适配器模式 : 将一个类的接口转换为客户希望的另一个接口. 适配器模式让那些接口不兼容的的类可以在一起工作. Adapter模式也称为Wrapper模式( Adapter Pattern : Convert the interface of a class into another inte...
2019-11-01
0
479