会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
chuiyuan
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
21
22
23
24
25
26
27
28
29
···
35
下一页
2015年5月5日
可以点击显示更多的textview
摘要: http://blog.csdn.net/xyz_fly/article/details/9146395
阅读全文
posted @ 2015-05-05 10:51 chuiyuan
阅读(344)
评论(0)
推荐(0)
2015年4月29日
计算机网络相关
摘要: http相关参考 :http://www.cnblogs.com/xing901022/p/4309840.htmlhttp://www.cnblogs.com/CareySon/archive/2012/04/27/HTTP-Protocol.htmlhttp://www.cnblogs.com/...
阅读全文
posted @ 2015-04-29 17:12 chuiyuan
阅读(167)
评论(0)
推荐(0)
2015年4月28日
state pattern
摘要: 更多内容参考 :http://www.programcreek.com/2011/07/java-design-pattern-state/state设计模式主要是为了在运行时改变状态。下面是一个例子:人们可以生活在不同的经济条件下,可以是富有 ,也可以是穷。两种状态可以相互转换。例子背后的想法是:...
阅读全文
posted @ 2015-04-28 00:03 chuiyuan
阅读(162)
评论(0)
推荐(0)
2015年4月27日
java 异常处理
摘要: 参考http://www.cnblogs.com/Coda/p/4461697.html
阅读全文
posted @ 2015-04-27 23:54 chuiyuan
阅读(106)
评论(0)
推荐(0)
IM相关
摘要: http://wiki.jabbercn.org/RFC3920http://www.cnblogs.com/hoojo/archive/2012/06/18/2553975.htmlhttp://www.cnblogs.com/luxiaofeng54/archive/2011/03/14/198...
阅读全文
posted @ 2015-04-27 17:10 chuiyuan
阅读(107)
评论(0)
推荐(0)
strategyPattern
摘要: 例子:假设小明有时会超速,他可能被一个很nice 的police抓到,但是会让小明走而且不开bill,只是简单的警告下。也有可能被一个hard的police抓到,会给他bill。但是小明不知道他会被 什么样的警察抓到,直到他被抓到前。这种就是run time .这个是strategy设计模式的核心。...
阅读全文
posted @ 2015-04-27 14:11 chuiyuan
阅读(210)
评论(0)
推荐(0)
2015年4月26日
LinkedList 实现
摘要: 下面是LinkedList实现package c3;import java.util.ConcurrentModificationException;import java.util.Iterator;import java.util.NoSuchElementException;import ja...
阅读全文
posted @ 2015-04-26 23:25 chuiyuan
阅读(202)
评论(0)
推荐(0)
2015年4月23日
ArrayList的实现
摘要: 下面是ArrayListpackage charpter3;import java.util.Iterator;import java.util.NoSuchElementException;public class MyArrayList implements Iterable { priva...
阅读全文
posted @ 2015-04-23 22:40 chuiyuan
阅读(257)
评论(0)
推荐(0)
Collection与List
摘要: 集合接口import java.util.Iterator;public interface Collection extends Iterable{ int size (); boolean isEmpty(); void clear (); boolean contains(AnyType x...
阅读全文
posted @ 2015-04-23 11:33 chuiyuan
阅读(516)
评论(0)
推荐(0)
二分查找
摘要: 复杂度 O(lgN)使用条件:数据已经排序并在内存中。package chapter1;public class BinarySearch { public static > int binarySearch(T [] a, T x){ int low =0; int high = a.le...
阅读全文
posted @ 2015-04-23 00:00 chuiyuan
阅读(133)
评论(0)
推荐(0)
上一页
1
···
21
22
23
24
25
26
27
28
29
···
35
下一页
公告