05 2014 档案
【转】redis事务
摘要:http://www.cnblogs.com/stephen-liu74/archive/2012/02/18/2357783.html 阅读全文
posted @ 2014-05-30 13:31 真心的不懂 阅读(158) 评论(0) 推荐(0)
【基础算法】- 个人认为最快的 Fibonacci 程序
摘要:public class Fibonacci { private static Map map = new HashMap(); static{ map.put(0L, 1L); map.put(1L, 1L); } public static void main(String[] arg... 阅读全文
posted @ 2014-05-30 11:05 真心的不懂 阅读(327) 评论(0) 推荐(0)
【IO】- 关于ByteBuffer的一点认识
摘要:我们经常使用ByteBuffer。通俗的Non-DerictedByteBuffer结构如下HeapByteBuffer extends ByteBuffer { Byte[] array; int pos,limit,cap,mark;}通俗的DirectByteBuffer结构如下Dir... 阅读全文
posted @ 2014-05-26 23:09 真心的不懂 阅读(2541) 评论(0) 推荐(1)
【基础算法】- 打印所有子集合
摘要:import java.util.ArrayList;import java.util.List;public class SubSetCount { public static void main(String[] args) { String test = new String("ABCD... 阅读全文
posted @ 2014-05-26 16:48 真心的不懂 阅读(449) 评论(0) 推荐(0)