2022年6月18日

AtomicLong类

摘要: AtomicLong类在高并发的场景下使用比较多,下面列举一下这个类中经常使用到的方法: AtomicLong aLong = new AtomicLong(1); System.out.println(aLong.get()); System.out.println(aLong); // 初始化一 阅读全文

posted @ 2022-06-18 19:15 ~码铃薯~ 阅读(84) 评论(0) 推荐(0)

导航