摘要: 结论:区别仅在于返回的结果,修改的值是相同的,但是返回的值不同。 看一下源码注释 1 /** 2 * Atomically adds the given value to the current value. 3 * 4 * @param delta the value to add 5 * @re 阅读全文
posted @ 2020-07-26 16:29 夜旦 阅读(3394) 评论(0) 推荐(0) 编辑