摘要: 观察者: public interface Observer { void update(float temperature, float humidity, float pressure); } 主体; public interface Subject { public void register 阅读全文
posted @ 2024-03-11 22:03 IT6889 阅读(3) 评论(0) 推荐(0) 编辑