wjc
2023-06-07 e0abee7b6ab08462f1f5a94e356ddf84f2eb3271
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.hdl.photovoltaic.other;
 
/**
 * 登陆界面的逻辑
 */
public class HdlAccountLogic {
 
    private static volatile HdlAccountLogic sHdlAccountLogic;
 
    public static synchronized HdlAccountLogic getInstance() {
        if (sHdlAccountLogic == null) {
            synchronized (HdlAccountLogic.class) {
                if (sHdlAccountLogic == null) {
                    sHdlAccountLogic = new HdlAccountLogic();
                }
            }
 
        }
        return sHdlAccountLogic;
    }
 
}