检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:程裕强[1]
机构地区:[1]玉林师范学院数学与信息科学学院,广西玉林537000
出 处:《玉林师范学院学报》2014年第2期82-86,共5页Journal of Yulin Normal University
摘 要:工厂模式是常用的设计模式,一般分为简单工厂模式、工厂方法模式、抽象工厂模式三类.工厂方法模式是对简单工厂模式推广,抽象工厂模式是对工厂方法模式推广.简单工厂模式和工厂方法模式是针对单个产品族的问题,如果对应于多个产品族,则不宜解决.针对这一问题,本文通过Java语言实现了抽象方法模式来解决多个产品族的问题.The factory pattern is a common design pattern, could be further divided into three specific design patterns, simple factory pattern, factory method pattern and the abstract factory pattern. The factoW method pattern is the extension of simple factory pattern, and the abstract factory pattern also is the extension of the factory method pattern. In general, the first two are designed to tackle the single product family, but not to tackle the multi product tiredly. In response to this problem, the java language is applied to implement the abstract factory pattern.
分 类 号:TP39[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.119.13.56