摘要:
DuDecorator.py # 装饰模式 Decorator Pattern import six # https://pypi.org/project/six/ from abc import ABCMeta @six.add_metaclass(ABCMeta) class Abstract_ 阅读全文
posted @ 2022-10-21 22:40
®Geovin Du Dream Park™
阅读(15)
评论(0)
推荐(0)
摘要:
DuComposite.py # 组合模式 Composite Pattern from __future__ import annotations from abc import ABC, abstractmethod from typing import List class Component 阅读全文
posted @ 2022-10-21 22:21
®Geovin Du Dream Park™
阅读(26)
评论(0)
推荐(0)
浙公网安备 33010602011771号