上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 66 下一页

2018年10月2日

Java]运算符优先级

摘要: https://blog.csdn.net/xiaoli_feng/article/details/4567184 () 是最高 !第二在if中基本都有&&和|| 分开,说明他们优先级很低在expression中,基本是 a = a* b + c,看得出 = 优先级很低 == 和 != 和=不一样, 阅读全文

posted @ 2018-10-02 14:14 Kooing 阅读(110) 评论(0) 推荐(0)

2018年9月29日

transient解释

摘要: http://www.cnblogs.com/lanxuezaipiao/p/3369962.html 阅读全文

posted @ 2018-09-29 20:47 Kooing 阅读(142) 评论(0) 推荐(0)

2018年9月28日

原子类

摘要: atomicBoolean这个类在本来是false,后面改了true是个原子操作compareAndSet 阅读全文

posted @ 2018-09-28 22:32 Kooing 阅读(174) 评论(0) 推荐(0)

2018年9月19日

set

摘要: 1,Set接口也是Collection的一种扩展,而与List不同的时,在Set中的对象元素不能重复,也就是说你不能把同样的东西两次放入同一个Set容器中。 2,HashSet能快速定位一个元素,但是你放到HashSet中的对象需要实现hashCode()方法,它使用了前面说过的哈希码的算法。 3, 阅读全文

posted @ 2018-09-19 00:50 Kooing 阅读(231) 评论(0) 推荐(0)

2018年9月16日

jedis api

摘要: http://www.importnew.com/19321.html 阅读全文

posted @ 2018-09-16 14:29 Kooing 阅读(123) 评论(0) 推荐(0)

2018年9月15日

cpu核心数的线程数

摘要: http://swiftlet.net/archives/2236 阅读全文

posted @ 2018-09-15 15:24 Kooing 阅读(110) 评论(0) 推荐(0)

handler之责任链模式

摘要: https://www.cnblogs.com/java-my-life/archive/2012/05/28/2516865.html 阅读全文

posted @ 2018-09-15 14:40 Kooing 阅读(297) 评论(0) 推荐(0)

2018年9月13日

idea新用法

摘要: https://blog.csdn.net/linsongbin1/article/details/80211919 阅读全文

posted @ 2018-09-13 16:45 Kooing 阅读(113) 评论(0) 推荐(0)

map的put和putIfAbsent使用

摘要: 源码中传入key和value,根据key获取看是否存在value,如果value==null,然后调用put方法把传入的key和value put进map,返回根据key获取的老value 意思就是:putIfAbsent 如果传入key对应的value已经存在,就返回存在的value,不进行替换。 阅读全文

posted @ 2018-09-13 13:43 Kooing 阅读(1431) 评论(0) 推荐(0)

2018年9月12日

netty的option和childOption

摘要: https://www.jianshu.com/p/0bff7c020af2 阅读全文

posted @ 2018-09-12 23:40 Kooing 阅读(1787) 评论(0) 推荐(0)

上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 66 下一页

导航