代码搜索:singleton

找到约 4,696 项符合「singleton」的源代码

代码结果 4,696
www.eeworm.com/read/356247/10234131

txt day04.txt

修饰符static: 把对象相关的变成类相关的,它可以修饰属性、方法、代码块和内部类 static修饰属性(类变量): 那么这个属性就可以用" 类名.属性名 "来访问,也就是使这个属性成为本类的类变量,为本类对象所共享。 类加载的过程,类本身也是保存在文件中(字节码文件保存着类的信息)的,java会通过I/O流把类的文件读入JVM(java虚拟机),这个过程称为类的加载。JVM会通 ...
www.eeworm.com/read/356031/10238699

txt day04.txt

修饰符static: 把对象相关的变成类相关的,它可以修饰属性、方法、代码块和内部类 static修饰属性(类变量): 那么这个属性就可以用" 类名.属性名 "来访问,也就是使这个属性成为本类的类变量,为本类对象所共享。 类加载的过程,类本身也是保存在文件中(字节码文件保存着类的信息)的,java会通过I/O流把类的文件读入JVM(java虚拟机),这个过程称为类的加载。JVM会通 ...
www.eeworm.com/read/355030/10299900

cpp singletonpattern.cpp

//: C25:SingletonPattern.cpp // From Thinking in C++, 2nd Edition // Available at http://www.BruceEckel.com // (c) Bruce Eckel 1999 // Copyright notice in Copyright.txt #include using
www.eeworm.com/read/355030/10299916

cpp singletonpattern2.cpp

//: C25:SingletonPattern2.cpp // From Thinking in C++, 2nd Edition // Available at http://www.BruceEckel.com // (c) Bruce Eckel 1999 // Copyright notice in Copyright.txt #include usin
www.eeworm.com/read/162314/10315349

cpp main.cpp

#include "Singleton.h" #include using namespace std; int main(int argc,char* argv[]) { Singleton* sgn = Singleton::Instance(); return 0; }
www.eeworm.com/read/353896/10406499

m min.m

%列状数据最小值 %例如 % A=[11 4 0.2;22 3 0.5;0 3 0.4]; % min(A) % %MIN Smallest component. % For vectors, MIN(X) is the smallest element in X. For matrices, % MIN(X) is a row vector contain
www.eeworm.com/read/353896/10407235

m max.m

%列状数据最大值 %例如 % A=[11 4 0.2;22 3 0.5;0 3 0.4]; % max(A) % %MAX Largest component. % For vectors, MAX(X) is the largest element in X. For matrices, % MAX(X) is a row vector containin
www.eeworm.com/read/353896/10407310

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/352063/10584374

cpp main.cpp

#include "Singleton.h" #include using namespace std; int main(int argc,char* argv[]) { Singleton* sgn = Singleton::Instance(); return 0; }
www.eeworm.com/read/351822/10606296

java staticprint.java

final class Spooler { //a static class implementation of Singleton pattern static public void print(String s) { System.out.println(s); } } //============================== public class s