代码搜索:singleton
找到约 4,696 项符合「singleton」的源代码
代码结果 4,696
www.eeworm.com/read/318815/3562709
java client.java
package com.javapatterns.singleton.mxrecord1;
public class Client
{
/**
* @directed
*/
private static MXList mxl;
public static void main(String[] args)
throw
www.eeworm.com/read/318815/3562713
java regsingleton.java
package com.javapatterns.singleton.demos;
import java.util.HashMap;
public class RegSingleton {
protected RegSingleton() {}
static public RegSingleton getInstance(String name)
www.eeworm.com/read/314938/3628444
java client.java
package com.javapatterns.singleton.mxrecord1;
public class Client
{
/**
* @directed
*/
private static MXList mxl;
public static void main(String[] args)
throw
www.eeworm.com/read/314938/3628448
java regsingleton.java
package com.javapatterns.singleton.demos;
import java.util.HashMap;
public class RegSingleton {
protected RegSingleton() {}
static public RegSingleton getInstance(String name)
www.eeworm.com/read/307661/3721660
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/307661/3721661
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/305421/3773937
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/289252/3991732
m flexgrid.m
function varargout = FlexGrid(varargin)
%FLEXGRID M-file for FlexGrid.fig
% FLEXGRID, by itself, creates a new FLEXGRID or raises the existing
% singleton*.
%
% H = FLEXGRID return
www.eeworm.com/read/289252/3991734
asv flexgrid.asv
function varargout = FlexGrid(varargin)
%FLEXGRID M-file for FlexGrid.fig
% FLEXGRID, by itself, creates a new FLEXGRID or raises the existing
% singleton*.
%
% H = FLEXGRID returns the
www.eeworm.com/read/283473/4078712
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;