代码搜索:singleton

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

代码结果 4,696
www.eeworm.com/read/120429/14803814

java elvis.java

// Singleton with static factory public class Elvis { private static final Elvis INSTANCE = new Elvis(); private Elvis() { // ... } public static Elvis getInstance()
www.eeworm.com/read/120400/14804026

cpp singletondoc.cpp

// SingletonDoc.cpp : implementation of the CSingletonDoc class // // This file is part of Singleton application to demonstrate the concept of Singleton classes. // This file is generated by AppW
www.eeworm.com/read/116177/14983795

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/209853/15213223

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/209853/15213235

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/209853/15213245

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/171731/5391849

xdt action-servlet.xdt

www.eeworm.com/read/170919/5402606

java idbuilder.java

package com.ll.smsbeans; /** * Represents a singleton. */ public class IdBuilder { /** * 发包的序列号 */ static private int sequenceId; /** * 发送消息包的序列号 */ private long messsage
www.eeworm.com/read/167133/5466706

java ptimerimpl.java

/* * PTimerImpl.java * * PersonalJava API 1.1 * This class interfaces the PersonalJava timers to the Kaffe timer system. * * Copyright (c) 1998 * Transvirtual Technologies, Inc. All rights
www.eeworm.com/read/167133/5467239

java imagedict.java

/** * Copyright (c) 1998 * Transvirtual Technologies, Inc. All rights reserved. * * See the file "license.terms" for information on usage and redistribution * of this file. * * @author J.Meh