代码搜索:singleton
找到约 4,696 项符合「singleton」的源代码
代码结果 4,696
www.eeworm.com/read/127651/14344624
vpj instancespooler.vpj
[COMPILER]
INCLUDEDIRS=
compile=concur|capture|:Compile:&Compile,javac %f
make=:Build:&Build,javamake
rebuild=concur|capture|:Rebuild:&Rebuild,
debug=concur|capture|:Debug:&Debug,jdb %n
execute=
www.eeworm.com/read/127651/14344627
java staticspool.java
final class Spooler
{
//a static class implementation of Singleton pattern
static public void print(String s)
{
System.out.println(s);
}
}
//==============================
public class s
www.eeworm.com/read/127651/14344630
java singletonexception.java
public class SingletonException extends RuntimeException {
//new exception type for singleton classes
public SingletonException() {
super();
}
//----------------------------
www.eeworm.com/read/127651/14344641
vpj singlespooler.vpj
[COMPILER]
INCLUDEDIRS=
compile=concur|capture|:Compile:&Compile,javac %f
make=:Build:&Build,javamake
rebuild=concur|capture|:Rebuild:&Rebuild,
debug=concur|capture|:Debug:&Debug,jdb %n
execute=
www.eeworm.com/read/127651/14344659
vpj simplecomm.vpj
[COMPILER]
INCLUDEDIRS=
compile=concur|capture|:Compile:&Compile,javac %f
make=:Build:&Build,javamake
rebuild=concur|capture|:Rebuild:&Rebuild,
debug=concur|capture|:Debug:&Debug,jdb %n
execute=
www.eeworm.com/read/127651/14344674
vpj portmanager.vpj
[COMPILER]
INCLUDEDIRS=
compile=concur|capture|:Compile:&Compile,javac %f
make=:Build:&Build,javamake
rebuild=concur|capture|:Rebuild:&Rebuild,
debug=concur|capture|:Debug:&Debug,jdb %n
execute=
www.eeworm.com/read/127651/14344688
vpj finalspool.vpj
[COMPILER]
INCLUDEDIRS=
compile=concur|capture|:Compile:&Compile,javac %f
make=:Build:&Build,javamake
rebuild=concur|capture|:Rebuild:&Rebuild,
debug=concur|capture|:Debug:&Debug,jdb %n
execute=
www.eeworm.com/read/127116/14377939
java regsingletontest.java
package com.javapatterns.singleton.demos;
public class RegSingletonTest
{
public static void main(String[] args)
{
//(1) Test eager
//System.out.println( EagerSinglet
www.eeworm.com/read/127116/14377942
java objectkeepertest.java
package com.javapatterns.singleton.demos;
import java.io.*;
// Referenced classes of package singleton.demos:
// ConfigManager, ObjectKeeper
public class ObjectKeeperTest
{
www.eeworm.com/read/127116/14377944
java regsingletonchild.java
package com.javapatterns.singleton.demos;
/**
* This class is a subclass of RegSingleton
*/
import java.util.HashMap;
public class RegSingletonChild extends RegSingleton
{
public Re