java
hedianxia
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
策略模式
[align=center]Strategy pattern[/align] [b]Definition:[/b] The strategy pattern defines a family of algorithms,encapsulate each one,and makes them interchangeable.Strategy ...原创 2013-04-05 20:17:03 · 114 阅读 · 0 评论 -
Adapter
[align=center]Adapter[/align] Intent Convert the interface of a class into another interface that clients expect.Adatper let classes work together that couldn't otherwise because of incompatibl...原创 2013-04-20 09:35:31 · 117 阅读 · 0 评论 -
Junit参数化测试报No tests found Matching Methed
今天在用Junit进行单元测试的时候,遇到一个诡异的问题。测试代码如下: [b]Java类:Calculate.java[/b] [code="java"] public class Calculate { public int sum(int var1, int var2) { System.out.println("Adding values " + ...原创 2015-05-04 21:09:14 · 530 阅读 · 0 评论
分享