LICENSE
This commit is contained in:
12
.idea/fileTemplates/Singleton.java
generated
Normal file
12
.idea/fileTemplates/Singleton.java
generated
Normal file
@@ -0,0 +1,12 @@
|
||||
#parse("HMCL.java")
|
||||
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end
|
||||
public class ${NAME}{
|
||||
private static ${NAME} ourInstance = new ${NAME}();
|
||||
|
||||
public static ${NAME} getInstance() {
|
||||
return ourInstance;
|
||||
}
|
||||
|
||||
private ${NAME}() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user