代码搜索:singleton
找到约 4,696 项符合「singleton」的源代码
代码结果 4,696
www.eeworm.com/read/480485/1317654
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/480485/1317655
java singletona.java
/**
* A Singleton , we can only create one instance
*/
public class SingletonA {
public static boolean instanceFlag = false; //true if 1 instance
//private SingletonA instance;
p
www.eeworm.com/read/461848/1549607
m histgui.m
function varargout = histGUI(varargin)
% HISTGUI M-file for histGUI.fig
% HISTGUI, by itself, creates a new HISTGUI or raises the existing
% singleton*.
%
% H = HISTGUI returns the
www.eeworm.com/read/461848/1549621
m histgui.m
function varargout = histGUI(varargin)
% HISTGUI M-file for histGUI.fig
% HISTGUI, by itself, creates a new HISTGUI or raises the existing
% singleton*.
%
% H = HISTGUI returns the
www.eeworm.com/read/251473/4419605
java singletona.java
/**
* A Singleton , we can only create one instance
*/
public class SingletonA {
public static boolean instanceFlag = false; //true if 1 instance
//private SingletonA instance;
p
www.eeworm.com/read/249104/4456994
java~2~ client.java~2~
package singleton;
public class Client {
public static void main(String argv[])
{
Logger loger=Logger.getLogger();
loger.logMsg("client log message");
}
}
www.eeworm.com/read/243866/4518932
java client.java
package com.javapatterns.singleton.mxrecord1;
public class Client
{
/**
* @directed
*/
private static MXList mxl;
public static void main(String[] args)
thro
www.eeworm.com/read/243866/4518937
java regsingleton.java
package com.javapatterns.singleton.demos;
import java.util.HashMap;
public class RegSingleton {
protected RegSingleton() {}
static public RegSingleton getInstance(String name)