你的位置:首页 > 软件开发 > ASP.net > 【设计模式】20、状态模式

【设计模式】20、状态模式

发布时间:2016-03-08 23:00:23
1 package com.shejimoshi.behavioral.State; 2 3 4 /** 5 * 功能:状态接口 6 * 时间:2016年3月8日下午9:41:17 7 * 作者:cutter_point 8 */ 9 public interface ...

【设计模式】20、状态模式

 

 1 package com.shejimoshi.behavioral.State; 2  3  4 /** 5  * 功能:状态接口 6  * 时间:2016年3月8日下午9:41:17 7  * 作者:cutter_point 8 */ 9 public interface State10 {11   /**12    * 当前状态应该干嘛13    * @param w14   */15   public abstract void writeProgram(Work w);16 }

 

海外公司注册、海外银行开户、跨境平台代入驻、VAT、EPR等知识和在线办理:https://www.xlkjsw.com

原标题:【设计模式】20、状态模式

关键词:设计模式

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。