最近在阅读Framework Design
Guidelines,本着现学现用的原则,于是就用FxCop工具对代码进行规范性检查时,发现了很多问题,其中包括命名以及一些设计上的规范。其中,Do not
expose generic lists 这条设计规范引起了我的注意。该规范指出“不要在对象模型中...
分类:
其他好文 时间:
2014-05-26 12:32:20
阅读次数:
294
使用步骤:1.双击下载下来的Versions,点击工具栏上的"Bookmarks"-->"Add
Responsitory
Bookmark",出现如下图所示界面:2.在“Location”中输入svn地址,“Name”会自动填充;输入“Username”和“Password”。3.点击“Creat...
分类:
其他好文 时间:
2014-05-26 11:17:51
阅读次数:
352
Guava Maven Dependency com.google.guava guava
{guava.version}Guava 常用方法示例Lists实例化 ListList list = Lists.newArrayList();Maps实例化
MapMap>> map =...
分类:
其他好文 时间:
2014-05-26 10:53:50
阅读次数:
233
labels:Collection List Set和Map用法与区别 java 散列表
集合Collection接 口的接口对 象的集合├List子接口按进入先后有序保存可
重复│├LinkedList接口实现类链表插入删除没有同步线程不安全│├ArrayList接口实现类数组随机访问没有同步线程...
分类:
其他好文 时间:
2014-05-26 10:20:32
阅读次数:
177
一直在网上找类似的效果.在Devpexress控件里面的这个是一个Demo的.没法查看源代码.也不知道怎么写的.所以就在网上搜索了半天的.终于找到类似的解决办法.可以使用重绘制的办法的来解决.[DesignerCategory("")]
[Designer("")] public cl...
分类:
其他好文 时间:
2014-05-26 09:57:36
阅读次数:
618
Given a linked list and a value x, partition it
such that all nodes less than x come before nodes greater than or equal to x.You
should preserve the o...
分类:
其他好文 时间:
2014-05-26 09:35:28
阅读次数:
266
clone of complex linked list.
分类:
其他好文 时间:
2014-05-26 09:34:02
阅读次数:
264
集合类说明及区别Collection├List│├LinkedList│├ArrayList│└Vector│ └Stack└SetMap├Hashtable├HashMap└WeakHashMapCollection接口
Collection是最基本的集合接口,一个Collection代表一组O....
分类:
编程语言 时间:
2014-05-26 09:32:53
阅读次数:
258
Given a linked list, remove the nth node from
the end of list and return its head. For example, Given linked list:
1->2->3->4->5, and n = 2. After rem...
分类:
其他好文 时间:
2014-05-26 09:08:23
阅读次数:
262
假定web application 名称为news,你在浏览器中输入请求路径:
http://localhost:8080/news/main/list.jsp 则执行下面向行代码后打印出如下结果:1、
System.out.println(request.getContextPath()); 打印...
分类:
其他好文 时间:
2014-05-24 08:05:54
阅读次数:
264