代码搜索:singleton
找到约 4,696 项符合「singleton」的源代码
代码结果 4,696
www.eeworm.com/read/334860/12568449
m diff.m
function X = diff(X,order,dim)
%1.数值差分
% 对向量n维X,diff(X)返回[X(2)-X(1) X(3)-X(2) ... X(n)-X(n-1)]
% 例 x=[1 3 8];diff(x)
%
%2.符号导函数
% diff(s)符号表达式s的导数.
% diff(s,v)符号表达式s关于变量v的导数.
www.eeworm.com/read/334652/12582203
java subsingletonb.java
/**
* A real Singleton we want to have
*/
public class SubSingletonB extends SingletonB {
public static boolean instanceFlag = false; //true if 1 instance
//private int i = 0;
www.eeworm.com/read/247688/12629412
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/247688/12629418
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/247688/12629422
java singletonexception.java
public class SingletonException extends RuntimeException {
//new exception type for singleton classes
public SingletonException() {
super();
}
//----------------------------
www.eeworm.com/read/247688/12629441
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/247688/12629481
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/247688/12629511
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/247688/12629539
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/300812/13892616
java test.java
package test2;
public class Test {
public static void main(String[] args) {
System.out.println(Singleton.getInstance().operation());
// Singleton a = new Singleton(); error
}
}