package agent;

import message.Message;

//单例模式---代理商
public class Agent {
	private Message message;
	private Agent(){}
	private static class SingletonInstance{//静态内部类
		private static final Agent INSTANCE = new Agent();
	}
	
	public static Agent getInstance(){
		return SingletonInstance.INSTANCE;
	}
	public String call(){
		return "代理商";
	}
	public Message getMessage() {
		return message;
	}
	public void setMessage(Message message) {
		this.message = message;
	}
	
	
}
最近下载更多
pangzhihui  LV12 2023年12月25日
永别了-帕特里克  LV5 2022年6月6日
qsyqa0  LV6 2021年9月4日
asdasdqwdew  LV6 2021年6月22日
 LV10 2021年6月12日
蛇蛇皮怪  LV14 2021年5月7日
lizhenlinok  LV10 2021年1月11日
__起飞的猪  LV10 2020年12月21日
cgp0219  LV6 2020年12月9日
hpe_git  LV12 2020年10月13日
最近浏览更多
pangzhihui  LV12 2023年12月25日
shiaomon 2023年12月15日
暂无贡献等级
jkjfdgbkl  LV2 2023年11月1日
morelian 2023年10月20日
暂无贡献等级
guozhihua12  LV2 2023年5月8日
李一一  LV1 2023年3月10日
kkkkks  LV1 2022年12月30日
1443251642  LV1 2022年12月19日
yyds123456  LV2 2022年12月4日
总有人间一两风  LV8 2022年12月1日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友