标签:
效率高。线程安全。
public class TestInstance{
private static TestInstance instance;
public static TestInstance getInstance{
if(instance==null){
synchronized(TestInstance.class){
标签:
原文地址:http://www.cnblogs.com/mengfanrong/p/5158217.html