代码搜索:singleton

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

代码结果 4,696
www.eeworm.com/read/318815/3562719

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/315275/3621945

m array.m

function varargout = array(varargin) % ARRAY M-file for array.fig % ARRAY, by itself, creates a new ARRAY or raises the existing % singleton*. % % H = ARRAY returns the handle to a
www.eeworm.com/read/314938/3628442

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/314938/3628447

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/314938/3628450

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/314938/3628451

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/314938/3628453

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/314938/3628454

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/287078/4030851

h logger.h

/** * Logger.h * * Definition of a true singleton logger class. */ #include #include #include class Logger { public: static const std::string kLogLeve
www.eeworm.com/read/270919/4232413

java pyellipsis.java

// Copyright (c) Corporation for National Research Initiatives package org.python.core; /** * A class representing the singleton Ellipsis ... * object. */ public class PyEllipsis exte