代码搜索:instance
找到约 10,000 项符合「instance」的源代码
代码结果 10,000
www.eeworm.com/read/485605/1261668
cs singleton.cs
namespace Singleton
{
class Singleton
{
static Singleton m_instance;
public static Singleton GetInstance()
{
if (m_instance == null)
{
m_instance = new Singleton();
}
www.eeworm.com/read/485605/1261689
vb singleton.vb
Class Singleton
Shared m_instance As Singleton
Public Shared Function GetInstance() As Singleton
If (m_instance Is Nothing) Then
m_instance = New Singleton()
E
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/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/213593/4914610
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/207779/5001052
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/177161/5332569
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/345572/3198897
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/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