代码搜索:singleton
找到约 4,696 项符合「singleton」的源代码
代码结果 4,696
www.eeworm.com/read/300492/13910303
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/300492/13910328
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/300492/13910351
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/134303/13998296
txt 16a.txt
Public class myEntityBean implements EntityBean {
…
public Obejct ejbFindByFirstLast(String first, String last) {
//runs appropriate singleton SELECT statement
//returns primary key for selected r
www.eeworm.com/read/110993/15520602
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/110993/15520607
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/110378/15535285
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/109232/15561225
win makefile.win
# Project: Singleton
# Makefile created by Dev-C++ 4.9.3.2
CC = g++.exe
WINDRES = windres.exe
RES =
OBJ = main.o $(RES)
LIBS = -L"C:\dev\DevCPP5b3-full\lib"
INCS = -I"C:\dev\DevCPP5b3
www.eeworm.com/read/105622/15663711
pas lexpos.pas
{
Construct the position table, as well as first position sets.
The position table stores symbol positions in regular expressions of
the Lex grammar. It also allows to store the correspondi
www.eeworm.com/read/104738/15683977
java elvis.java
// Singleton with static factory
public class Elvis {
private static final Elvis INSTANCE = new Elvis();
private Elvis() {
// ...
}
public static Elvis getInstance()