摘要: package com.thread.test; public class BadLockOnInteger implements Runnable { public static Integer i = 0;// Integer属于不变对象,要想改变,只能重新创建对象 static BadLockOnInteger instance = new BadLockOnInte... 阅读全文
posted @ 2018-01-22 10:30 劈天造陆 阅读(372) 评论(0) 推荐(0) 编辑