📅  最后修改于: 2022-03-11 14:52:21.004000             🧑  作者: Mango
代码示例1
// for java
// ** use 'synchronized' keyword in function declaration
public static synchronized Database getInstance(){...}