50,523
社区成员
发帖
与我相关
我的任务
分享
public static Singleton3 getInstance() {
if (instance == null) {
synchronized (instance) {
if (instance == null) {
instance = new Singleton3();
}
}
}
return instance;
}