IOS
hefeixia
2021-02-18 49f3c1374873f73dbde2983ca0fcf1fb10bfedbf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package frame.persist;
 
import chat.server.Container;
 
public class NamedSQLContainer extends Container<NamedSQL> {
 
    private static NamedSQLContainer instance;
    
    
    private NamedSQLContainer() {
    }
    
    
    public synchronized static NamedSQLContainer getInstance() {
        if (instance == null) {
            instance = new NamedSQLContainer();
        }
        
        return instance;
    }
    
 
}