摆渡人 外婆桥!

--只要路选对了,就不怕有多远!

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

03 2005 档案

摘要:单例模式,也就是在系统中只存在一个事例。它的应用还是比较广泛的,例如产品的功能菜单(功能树),系统上线以后,它就很少进行修改了,为了提供系统的性能,可以在系统中只存在这样一个功能菜单事例。这样单例模式也往往和Caching(缓存)模式同时使用。 package yhp.test.pattern.singleton; public class TestSingleton { ... 阅读全文
posted @ 2005-03-22 16:35 摆渡人 外婆桥! 阅读(374) 评论(0) 推荐(0)

摘要:利用以下程序生产excel.dll ..\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\TlbImp.exe excel.exe 在.net开发环境中引入excel.dll public void exportToExcel(){ try { Excel.Application oXL = new Excel.Applicatio... 阅读全文
posted @ 2005-03-17 22:26 摆渡人 外婆桥! 阅读(960) 评论(1) 推荐(0)

摘要:例子: public class Outbound2splitVO implements Serializable ,Cloneable { private long id; private String brand; public long getId() { return id; } public void setId(long id){... 阅读全文
posted @ 2005-03-11 17:04 摆渡人 外婆桥! 阅读(604) 评论(1) 推荐(0)