网站首页 站内搜索

搜索结果

查询Tags标签: getFlyweight,共有 1条记录
  • 设计模式之享元模式

    享元模式享元模式结构图示例代码 // 抽象享元角色 public interface Flyweight {void doSomething(); }// 具体享元角色 public class ConcreteFlyweight implements Flyweight{private String status;public ConcreteFlyweight(String status) {this.status = status;}@O…

    2021/4/17 18:28:29 人评论 次浏览
扫一扫关注最新编程教程