• 大小: 0.18M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-06-02
  • 语言: 其他
  • 标签: 其他  

资源简介

designpattern.zip

资源截图

代码片段和文件信息

package abstractfactory;

/**
 * 抽象工厂方法(Abstract Factory)
 * AccessDepartment用于访问Access的Department
 */
public class AccessDepartment implements IDepartment {

    @Override
    public void insert(Department department) {
        System.out.println(“在Access中给部门表增加一条记录“);
    }

    @Override
    public Department getDepartment(int id) {
        System.out.println(“在Access中根据ID得到部门表中的一条记录“);
        return null;
    }

}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-11-19 09:47  .idea\
     文件         734  2018-10-24 10:08  .idea\compiler.xml
     文件          97  2018-10-24 10:08  .idea\description.html
     文件         171  2018-10-24 10:08  .idea\encodings.xml
     文件         489  2018-10-24 10:08  .idea\misc.xml
     文件         273  2018-10-24 10:08  .idea\modules.xml
     文件        8915  2018-11-10 09:30  .idea\uiDesigner.xml
     文件         173  2018-10-24 10:08  .idea\vcs.xml
     文件       37160  2018-11-19 09:47  .idea\workspace.xml
     文件         437  2018-10-24 10:08  designpattern.iml
     目录           0  2018-10-24 10:10  out\
     目录           0  2018-10-24 10:10  out\production\
     目录           0  2018-11-17 15:55  out\production\designpattern\
     目录           0  2018-11-17 14:10  out\production\designpattern\abstractfactory\
     文件         883  2018-11-02 15:20  out\production\designpattern\abstractfactory\AccessDepartment.class
     文件         829  2018-11-17 14:10  out\production\designpattern\abstractfactory\AccessUser.class
     文件        1145  2018-11-17 14:10  out\production\designpattern\abstractfactory\Client.class
     文件        1290  2018-11-03 14:42  out\production\designpattern\abstractfactory\DataAccess.class
     文件         287  2018-11-02 15:20  out\production\designpattern\abstractfactory\Department.class
     文件         228  2018-11-02 13:55  out\production\designpattern\abstractfactory\IDepartment.class
     文件         198  2018-11-17 14:10  out\production\designpattern\abstractfactory\IUser.class
     文件         908  2018-11-02 15:20  out\production\designpattern\abstractfactory\SqlServerDepartment.class
     文件         842  2018-11-17 14:10  out\production\designpattern\abstractfactory\SqlServerUser.class
     文件         269  2018-11-02 15:20  out\production\designpattern\abstractfactory\User.class
     目录           0  2018-11-03 14:41  out\production\designpattern\adapter\
     文件         837  2018-11-03 09:05  out\production\designpattern\adapter\Center.class
     文件         717  2018-11-03 14:41  out\production\designpattern\adapter\Client.class
     文件        1010  2018-11-03 09:12  out\production\designpattern\adapter\ForeignCenter.class
     文件         830  2018-11-03 09:05  out\production\designpattern\adapter\Forwards.class
     文件         837  2018-11-03 09:05  out\production\designpattern\adapter\Guards.class
     文件         387  2018-11-03 09:05  out\production\designpattern\adapter\Player.class
............此处省略325个文件信息

评论

共有 条评论