严富坤的知识库专栏 本次搜索耗时 0.023 秒,为您找到 533 个相关结果.
  • 状态模式

    1869 2024-09-12 《设计模式》
    Question 1: What is the State pattern in software design? 问题 1:什么是软件设计中的状态模式? Answer: The State pattern is a behavioral design pattern that allows an object to change its beha...
  • 桥接模式

    1867 2024-09-12 《设计模式》
    Question 1: What is the Bridge pattern in software design? 问题 1:什么是软件设计中的桥接模式? Answer: The Bridge pattern is a structural design pattern that decouples an abstraction from its...
  • 原型模式

    1865 2024-09-12 《设计模式》
    Question 1: What is the Prototype pattern in software design? 问题 1:什么是软件设计中的原型模式? Answer: The Prototype pattern is a creational design pattern that allows objects to be copied...
  • 中介模式

    1865 2024-09-12 《设计模式》
    Question 1: What is the Mediator pattern in software design? 问题 1:什么是软件设计中的中介模式? Answer: The Mediator pattern is a behavioral design pattern that defines an object (the mediat...
  • 装饰器模式

    1863 2024-09-12 《设计模式》
    Question 1: What is the Decorator pattern in software design? 问题 1:什么是软件设计中的装饰器模式? Answer: The Decorator pattern is a structural design pattern that allows behavior to be adde...
  • 门面模式

    1854 2024-09-12 《设计模式》
    Question 1: What is the Facade pattern in software design? 问题 1:什么是软件设计中的门面模式? Answer: The Facade pattern is a structural design pattern that provides a simplified interface t...
  • 备忘录模式

    1854 2024-09-12 《设计模式》
    Question 1: What is the Memento pattern in software design? 问题 1:什么是软件设计中的备忘录模式? Answer: The Memento pattern is a behavioral design pattern that allows an object to capture an...
  • 责任链模式

    1847 2024-09-12 《设计模式》
    Question 1: What is the Chain of Responsibility pattern in software design? 问题 1:什么是软件设计中的责任链模式? Answer: The Chain of Responsibility pattern is a behavioral design pattern use...
  • 管理组件拥有的状态

    1845 2024-04-09 《ArkUI开发教程》
    一、@State修饰符 二、@Prop修饰符 三、@Link修饰符 四、@Provide和@Consume:与后代组件双向同步 五、@Watch修饰符 在声明式UI编程框架中,UI是程序状态的运行结果,用户构建了一个UI模型,其中应用的运行时的状态是参数。当参数改变时,UI作为返回结果,也将进行对应的改变。这些运行时的状态变化所带来的UI的重新...
  • 模板方法模式

    1843 2024-09-12 《设计模式》
    Question 1: What is the Template Method pattern in software design? 问题 1:什么是软件设计中的模板方法模式? Answer: The Template Method pattern is a behavioral design pattern that defines the s...