private static Singleton s;
private Singleton() {}
public static Singleton getInstance() {
if (s == null) {
s = new Singleton();
}
return s;
本文标题:懒加载
本文链接:https://www.haomeiwen.com/subject/ogeexqtx.html
网友评论