文件名称:Bridge
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 4kb
- 下载次数:
- 0次
- 提 供 者:
- K**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
英国帝国理工学院电脑系多线程课程教学材料之十 ---- 单行道范例-Cars cannot pass each other on the bridge. The buttons set the number of cars moving in each direction. The default is one blue car and one red car. Try two and three. The safe checkbox, if cleared, changes the bridge monitor to a null implementation. The fair checkbox, when ticked, changes the bridge monitor to one which guarantees fair access to both red and blue cars.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
BlueCar.java
Bridge.java
BridgeCanvas.java
FairBridge.java
RedCar.java
SafeBridge.java
SingleLaneBridge.java
Bridge.java
BridgeCanvas.java
FairBridge.java
RedCar.java
SafeBridge.java
SingleLaneBridge.java