private GlobalData (){
}
public static GlobalData getDefault() {
if (instance == null) {
synchronized (GlobalData.class) {
if (instance == null) {
instance = new GlobalData();
}
}
}
return instance;
}
网友评论