一。比较Comparable & Comparator 都是用来实现集合中元素的比较、排序的,只是 Comparable 是在内部实现的排序,Comparator 是在外部实现的排序。用 Comparator 是策略模式(strategy design pattern),不改变对象自身,而用一个策略...
分类:
其他好文 时间:
2014-07-16 22:55:37
阅读次数:
181
1、错误描述
信息: Setting autowire strategy to name
2014-7-13 1:37:43 org.apache.struts2.spring.StrutsSpringObjectFactory info
信息: ... initialized Struts-Spring integration successfully
2014-7-13 1:37:44 or...
分类:
编程语言 时间:
2014-07-13 15:57:43
阅读次数:
306
This is the 1st pattern I study. In here, I will mark down my doubts, java study, DESIGN PRINCIPLES, DESIGN PATTERN. There are 3 design principles in ...
分类:
其他好文 时间:
2014-07-13 10:51:33
阅读次数:
229
策略模式(Strategy Pattern) 具体解释本文地址:http://blog.csdn.net/caroline_wendy/article/details/26577879本文版权全部, 禁止转载, 如有须要, 请站内联系.策略模式: 定义了算法族, 分别封装起来, 让它们之间能够相互替...
分类:
其他好文 时间:
2014-07-09 23:14:08
阅读次数:
227
原文地址:http://www.blogjava.net/wangle/archive/2007/04/25/113545.html从桥接模式与策略模式谈起桥接(Bridge)模式是结构型模式的一种,而策略(strategy)模式则属于行为模式。以下是它们的UML结构图。在桥接模式中,Abstrac...
分类:
其他好文 时间:
2014-06-28 21:20:24
阅读次数:
332
微软近期Open的职位:Job Summary:Be part of Microsoft’s strategy to deliver a great input experience across the Microsoft platforms! We are looking for an expe...
分类:
其他好文 时间:
2014-06-25 11:13:03
阅读次数:
257
设计模式之策略模式(Strategy)摘录!...
分类:
其他好文 时间:
2014-06-21 20:31:36
阅读次数:
348
设计模式总结(1)======================================================strategy pattern设计原则:找出应用中可能需要变化之处,把它们独立出来。不要和那些不需要变化的代码混在一起。针对接口编程 真正的意思是 针对超类型编程。oo基础...
分类:
其他好文 时间:
2014-06-18 08:14:58
阅读次数:
177
Use‘svnupdate’asmuchaspossible第一次发布的时候,会把工作目录下的所有文件清空,然后check-out一份完整的项目到工作目录下;以后更新的时候,不会判断已有文件是否在svn里存在。比如工作目录下的文件123在svn里不存在,那么更新的时候不会删除123。不会判断工作目录下的文..
分类:
其他好文 时间:
2014-06-17 18:07:43
阅读次数:
6157
string[] imgname; MODEL.Strategy modelMenu = bllMenu.GetModel(int.Parse(strId)); imgname = getPicUrl.getPicUrls(modelMenu...
分类:
其他好文 时间:
2014-06-17 14:12:17
阅读次数:
182