代码搜索:singleton

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

代码结果 4,696
www.eeworm.com/read/124166/14592296

java singletonpattern.java

//: singleton:SingletonPattern.java // The Singleton design pattern: you can // never instantiate more than one. package singleton; import junit.framework.*; // Since this isn't inherited from
www.eeworm.com/read/122684/14674553

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
www.eeworm.com/read/122684/14674563

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
www.eeworm.com/read/222743/14677315

cpp curioussingleton.cpp

//: C10:CuriousSingleton.cpp // From "Thinking in C++, Volume 2", by Bruce Eckel & Chuck Allison. // (c) 1995-2004 MindView, Inc. All Rights Reserved. // See source code use permissions stated in t
www.eeworm.com/read/222743/14677331

cpp singletonpattern.cpp

//: C10:SingletonPattern.cpp // From "Thinking in C++, Volume 2", by Bruce Eckel & Chuck Allison. // (c) 1995-2004 MindView, Inc. All Rights Reserved. // See source code use permissions stated in t
www.eeworm.com/read/222743/14677349

cpp singletonpattern2.cpp

//: C10:SingletonPattern2.cpp // From "Thinking in C++, Volume 2", by Bruce Eckel & Chuck Allison. // (c) 1995-2004 MindView, Inc. All Rights Reserved. // See source code use permissions stated in
www.eeworm.com/read/121364/14758631

txt 内容介绍.txt

内容介绍 Modern C++ Design是一部重要的著作。从根本上,它展示了泛型模式或模式模板这一在C++中创建可扩充设计的功能强大的新途径--一种结合了模板和模式、你未曾梦想过但的确存在的新途径。如果你的工作涉及C++设计及编程,那么,你应该阅读本书。极力推荐... --Herb Sutter 关于C++,还有什么没有说到的?--很多,它证明。 --节自John Vlissid ...
www.eeworm.com/read/120923/14783356

cpp singletonpattern.cpp

//: C11:SingletonPattern.cpp // From "Thinking in C++, 2nd Edition, Volume 2" // by Bruce Eckel & Chuck Allison, (c) 2001 MindView, Inc. // Available at www.BruceEckel.com. //{L} ../TestSuite/Test
www.eeworm.com/read/120923/14783372

cpp singletonpattern2.cpp

//: C11:SingletonPattern2.cpp // From "Thinking in C++, 2nd Edition, Volume 2" // by Bruce Eckel & Chuck Allison, (c) 2001 MindView, Inc. // Available at www.BruceEckel.com. //{L} ../TestSuite/Tes
www.eeworm.com/read/120429/14803812

java elvis.java

// Singleton with final field - page 10 public class Elvis { public static final Elvis INSTANCE = new Elvis(); private Elvis() { // ... } // ... // Remainder omitted