网站介绍:文章浏览阅读147次。一、UML图二、代码示例package com.designPattern.State;public class Car { private CarState carState = null; public Car() { this.carState = new CarStopState(); } public void start() { _throwposhold
- 链接地址:https://blog.csdn.net/jintaohahahaha/article/details/107240200
- 链接标题:011、状态模式_throwposhold-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:7457
- 网站标签:throwposhold