[{"title":"( 9 个子文件 6KB ) 用观察者模式和非观察者模式设计一个交通信号灯调度系统","children":[{"title":"Demo","children":[{"title":"观察者模式","children":[{"title":"Road.java <span style='color:#111;'> 1.94KB </span>","children":null,"spread":false},{"title":"LampController.java <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"Lamp.java <span style='color:#111;'> 1.51KB </span>","children":null,"spread":false},{"title":"Main.java <span style='color:#111;'> 131B </span>","children":null,"spread":false}],"spread":true},{"title":"不使用观察者模式的","children":[{"title":"Road.java <span style='color:#111;'> 1.55KB </span>","children":null,"spread":false},{"title":"LampController.java <span style='color:#111;'> 608B </span>","children":null,"spread":false},{"title":"Lamp.java <span style='color:#111;'> 1.47KB </span>","children":null,"spread":false},{"title":"Main.java <span style='color:#111;'> 361B </span>","children":null,"spread":false}],"spread":true},{"title":"注意 <span style='color:#111;'> 54B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]