Loading

摘要: 本文简要介绍Java并发编程方面常用的类和集合,并介绍下其实现原理。 1、AtomicInteger 可以用原子方式更新int值。类 AtomicBoolean、AtomicInteger、AtomicLong 和 AtomicReference 的实例各自提供对相应类型单个变量的访问和更新。基本的 阅读全文
posted @ 2015-07-11 15:28 阿凡卢 阅读(9454) 评论(0) 推荐(1) 编辑