Subversion Repository Public Repository

litesoft

1
2
3
4
5
6
7
8
9
10
11
12
#if (${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end

public class ${Name}{
    private static ${Name} ourInstance = new ${Name}();

    public static ${Name} getInstance() {
        return ourInstance;
    }

    private ${Name}() {
    }
}

Commits for litesoft/trunk/zIntelliJ-Config/config/fileTemplates/Singleton.java

Diff revisions: vs.
Revision Author Commited Message
473 GeorgeS picture GeorgeS Fri 02 Sep, 2011 12:41:30 +0000