上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 118 下一页
摘要: /// <summary> ///组合模式 Composite Pattern /// geovindu,Geovin Du edit /// /// </summary> interface IEmployee { /// <summary> /// To set an employee name 阅读全文
posted @ 2022-10-06 16:39 ®Geovin Du Dream Park™ 阅读(26) 评论(0) 推荐(0)
摘要: /// <summary> /// The 'Flyweight' interface ///享元模式 Flyweight Pattern /// geovindu,Geovin Du edit /// 车辆 /// </summary> interface IVehicle { /* * Clie 阅读全文
posted @ 2022-10-06 15:43 ®Geovin Du Dream Park™ 阅读(29) 评论(0) 推荐(0)
摘要: # Python 3.9 # 工厂方法模式 Factory Method Pattern from __future__ import annotations from abc import ABC, abstractmethod import pygame # pip install pygame 阅读全文
posted @ 2022-10-06 13:37 ®Geovin Du Dream Park™ 阅读(27) 评论(0) 推荐(0)
摘要: /// <summary> /// 外观模式Facade Pattern /// geovindu,Geovin Du eidt /// 机器人颜色 /// </summary> public class RobotColor { /// <summary> /// 颜色名称 /// </summa 阅读全文
posted @ 2022-10-05 23:37 ®Geovin Du Dream Park™ 阅读(51) 评论(0) 推荐(0)
摘要: /// <summary> /// 适配器模式 Adapter PatternA /// geovindu, Geovin Du edit /// </summary> interface IRectangle { void AboutMe(); } /// <summary> /// /// </ 阅读全文
posted @ 2022-10-05 16:35 ®Geovin Du Dream Park™ 阅读(33) 评论(0) 推荐(0)
摘要: /// <summary> ///装饰模式 Decorator Pattern ///geovindu,Geovin Du eidt /// /// </summary> abstract class AbstractHome { /// <summary> /// /// </summary> p 阅读全文
posted @ 2022-10-05 14:23 ®Geovin Du Dream Park™ 阅读(33) 评论(0) 推荐(0)
摘要: /** * 版权所有 2022 涂聚文有限公司 * 许可信息查看: * 描述: * Core Java, Volume I: Fundamentals, Twelfth Edition by Cay S.Horstamnn * Core Java, Volume II: Advanced Featu 阅读全文
posted @ 2022-10-04 22:05 ®Geovin Du Dream Park™ 阅读(55) 评论(0) 推荐(0)
摘要: /// <summary> /// Abstract class Subject /// 代理模式 Proxy Pattern /// Structural Design Patterns /// geovindu, Geovin Du edit /// </summary> public abst 阅读全文
posted @ 2022-10-04 21:24 ®Geovin Du Dream Park™ 阅读(33) 评论(0) 推荐(0)
摘要: /// <summary> /// Abstract Factory抽像工厂 /// geovindu,Geovin Du eidt /// </summary> public interface IShape { void Draw(); } /// <summary> /// /// </sum 阅读全文
posted @ 2022-10-04 17:19 ®Geovin Du Dream Park™ 阅读(31) 评论(0) 推荐(0)
摘要: /// <summary> /// geovindu, Geovin Du,涂聚文 Edit /// </summary> public class DuModel { private string name; private int price, quantity; /// <summary> / 阅读全文
posted @ 2022-10-04 13:41 ®Geovin Du Dream Park™ 阅读(181) 评论(0) 推荐(0)
上一页 1 ··· 48 49 50 51 52 53 54 55 56 ··· 118 下一页