2021年8月18日

synchronized 同步代码块静态类使用

摘要: 非静态synchronized 方法 等于synchronized(this)静态 synchronized(类名.class) 线程安全的类StringBuffer Hashtable 多线程的时候用这两个 血和泪的教训!补充 Hashtable 基本被 List<String> list= Co 阅读全文

posted @ 2021-08-18 19:28 大地豆奶 阅读(110) 评论(0) 推荐(0) 编辑

导航