代码搜索:singleton

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

代码结果 4,696
www.eeworm.com/read/392558/2494768

java mailserver.java

package com.javapatterns.singleton.mxrecord; public class MailServer { private int priority; private String server; public void setPriority(int priority) { this.priority = priority;
www.eeworm.com/read/392558/2494773

java lazysingleton1.java

package com.javapatterns.singleton.answers; /** * Only once instance of the class may be created during the * execution of any given program. Instances of this class should * be aquired thr
www.eeworm.com/read/392558/2494776

java eagersingleton.java

package com.javapatterns.singleton.demos; /** * Only once instance of the class may be created during the execution of any given program. Instances of this class should * be aquired through the
www.eeworm.com/read/392558/2494777

java objectkeeper.java

package com.javapatterns.singleton.demos; import java.util.Vector; /** * This class keeps your objects from garbage collected */ public class ObjectKeeper extends Thread {
www.eeworm.com/read/392558/2494779

java regsingletontest.java

package com.javapatterns.singleton.demos; public class RegSingletonTest { public static void main(String[] args) { //(1) Test eager //System.out.println( EagerSinglet
www.eeworm.com/read/392558/2494780

java lazysingleton.java

package com.javapatterns.singleton.demos; /** * Only once instance of the class may be created during the * execution of any given program. Instances of this class should * be aquired through
www.eeworm.com/read/380073/2663894

java chocolatecontroller.java

package headfirst.singleton.chocolate; public class ChocolateController { public static void main(String args[]) { ChocolateBoiler boiler = ChocolateBoiler.getInstance(); boiler.fill(); boile
www.eeworm.com/read/361804/2942987

h datastore.h

/* AscentEmu By SOI */ #ifndef __DATASTORE_H #define __DATASTORE_H #include "Common.h" #include "Singleton.h" #include "DBC.h" #endif
www.eeworm.com/read/358128/3002134

php null.php

www.eeworm.com/read/353526/3085045

js tooltip.js

// Singleton class TooltipWindow // This class works with special className. The tooltip content could be in your HTML page as an hidden element or // can be retreive by an AJAX call. // // To work, Y