软件设计模式
设计模式
爱玩游戏的小隐
菜鸡码农 & DOTA2信仰玩家
展开
-
软件设计模式简介
众所周知,软件设计模式一共有23种,从今天开始,每天学一个设计模式。设计模式设计模式共有23个,可分为三大类:创建模式(5种),结构模式(7种),行为模式(11种)创建模式抽象工厂模式 (Abstract Factory)生成器模式 (Builder)工厂方法模式 (Factory Method)原型模式 (Prototype)单例模式 (Singleton)结构模式适...原创 2019-04-17 19:51:10 · 271 阅读 · 0 评论 -
Factory Method(工厂方法)
1.What is Factory PatternFactory pattern is one of the most used design patterns in Java.This type of design pattern comes under creational pattern as this pattern provides one of the best ways to cr...原创 2019-04-17 19:54:46 · 582 阅读 · 0 评论 -
Abstract Factory Method(抽象工厂)
1.What is Abstract Factory PatternAbstract Factory pattern is a super-factory which creates other factories. We also called as factory of factories. It’s’ very much like the Factory Pattern.2.Simple...原创 2019-04-17 20:07:22 · 207 阅读 · 0 评论