05 2014 档案
【转】redis事务
摘要:http://www.cnblogs.com/stephen-liu74/archive/2012/02/18/2357783.html
阅读全文
【基础算法】- 个人认为最快的 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...
阅读全文
【IO】- 关于ByteBuffer的一点认识
摘要:我们经常使用ByteBuffer。通俗的Non-DerictedByteBuffer结构如下HeapByteBuffer extends ByteBuffer { Byte[] array; int pos,limit,cap,mark;}通俗的DirectByteBuffer结构如下Dir...
阅读全文
【基础算法】- 打印所有子集合
摘要:import java.util.ArrayList;import java.util.List;public class SubSetCount { public static void main(String[] args) { String test = new String("ABCD...
阅读全文
浙公网安备 33010602011771号