文件名称:state
介绍说明--下载内容来自于网络,使用问题请自行百度
用java实现的设计模式小程序,应用了状态模式、单例模式、抽象工厂模式,模拟的是简单的红绿交通信号灯系统。绿灯10秒,黄灯3秒,红灯10秒,三种状态之间相互循环切换。-Use java to implement a little program,it use state module,single module and abstract factory module,it imitate the traffic signal light.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
zhaowei/
zhaowei/.classpath
zhaowei/.project
zhaowei/.settings/
zhaowei/.settings/org.eclipse.jdt.core.prefs
zhaowei/bin/
zhaowei/bin/Client.class
zhaowei/bin/GreenLightState$SingletonHolder.class
zhaowei/bin/GreenLightState.class
zhaowei/bin/RedLightState$SingletonHolder.class
zhaowei/bin/RedLightState.class
zhaowei/bin/Signal.class
zhaowei/bin/State.class
zhaowei/bin/YellowLightState$SingletonHolder.class
zhaowei/bin/YellowLightState.class
zhaowei/src/
zhaowei/src/Client.java
zhaowei/src/GreenLightState.java
zhaowei/src/RedLightState.java
zhaowei/src/Signal.java
zhaowei/src/State.java
zhaowei/src/YellowLightState.java
zhaowei/.classpath
zhaowei/.project
zhaowei/.settings/
zhaowei/.settings/org.eclipse.jdt.core.prefs
zhaowei/bin/
zhaowei/bin/Client.class
zhaowei/bin/GreenLightState$SingletonHolder.class
zhaowei/bin/GreenLightState.class
zhaowei/bin/RedLightState$SingletonHolder.class
zhaowei/bin/RedLightState.class
zhaowei/bin/Signal.class
zhaowei/bin/State.class
zhaowei/bin/YellowLightState$SingletonHolder.class
zhaowei/bin/YellowLightState.class
zhaowei/src/
zhaowei/src/Client.java
zhaowei/src/GreenLightState.java
zhaowei/src/RedLightState.java
zhaowei/src/Signal.java
zhaowei/src/State.java
zhaowei/src/YellowLightState.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.