梦土上

此博客停止更新,请移步本人网站 http://lilei.work

博客园 首页 新随笔 联系 订阅 管理
上一页 1 ··· 3 4 5 6 7

2014年6月11日 #

摘要: 是什么一种scheme,用表来做信息存取,代替逻辑语句(if/else)为什么简化逻辑语句,避免大量嵌套的 if/else 或者 switch/case怎么用三种访问表的方式直接访问:将源数据作为key索引访问:构建KV表阶梯访问:分为连续区间,遍历或者二分查找例子// get the full n... 阅读全文
posted @ 2014-06-11 17:22 猫之歌 阅读(184) 评论(0) 推荐(0)

摘要: 返回的emptyList不支持add() 阅读全文
posted @ 2014-06-11 16:58 猫之歌 阅读(325) 评论(0) 推荐(0)

2014年6月9日 #

摘要: MySQL中,auto increment的id,以max(id)存储于内存中,若删掉最大值,重启,会重新添加进相同的最大id 阅读全文
posted @ 2014-06-09 21:00 猫之歌 阅读(138) 评论(0) 推荐(0)

2014年6月6日 #

摘要: find / -iname "phonedirecotry*" 阅读全文
posted @ 2014-06-06 19:55 猫之歌 阅读(171) 评论(0) 推荐(0)

2014年6月4日 #

摘要: View.findViewById采用深度遍历,找到第一个匹配的控件Integer Cache 1 public static void testIntegerCache() { 2 Class cache = Integer.class.getDeclaredClasses... 阅读全文
posted @ 2014-06-04 14:03 猫之歌 阅读(265) 评论(0) 推荐(0)

2014年5月30日 #

摘要: open -a TextEdit xxx 阅读全文
posted @ 2014-05-30 19:07 猫之歌 阅读(155) 评论(0) 推荐(0)

2014年5月27日 #

摘要: /data/anr/traces.txtMySQL: select version(); 阅读全文
posted @ 2014-05-27 18:59 猫之歌 阅读(160) 评论(0) 推荐(0)

2014年5月21日 #

摘要: git checkout会带上当前changed但没有commit的内容到目标分支git stash用来暂存当前改动,并且会退代码到上一个commit;git stash pop则取出所stash的代码 阅读全文
posted @ 2014-05-21 19:16 猫之歌 阅读(315) 评论(0) 推荐(0)

2014年5月20日 #

摘要: zsh通过编辑~/.zshrc来配置环境变量,bash通过编辑~/.bash_profile来做同样的事 阅读全文
posted @ 2014-05-20 20:00 猫之歌 阅读(180) 评论(0) 推荐(0)

上一页 1 ··· 3 4 5 6 7